angular-token-auth Installation bower install angular-token-auth --save Inject angular-token-auth in to your app module. Add a PROJECT_SETTINGS constant to your project_settings module. Define a list of allowed hosts in PROJECT_SETTINGS.TOKEN_AUTH.ALLOWED_HOSTS. Releasing a new version Commit your changes. Run grunt build to generate the compiled template files Follow the guidelines at http://semver.org/ to determine your new version number. Update CHANGELOG.md with your new version number and a description of changes. Update the version property in bower.json and|or package.json Commit those changes with the commit message "Bump to [version number]". [version number] should be in the format x.y.z. git tag [version number] git push git push --tags - must be done separately.