Skip to content

Latest commit

 

History

History
38 lines (27 loc) · 1.13 KB

README.md

File metadata and controls

38 lines (27 loc) · 1.13 KB

angular-user-management

Installation

bower install angular-user-management --save

  • Load the dependencies in to your app.

  • Load the modules you want to use in your HTML.

<script src="bower_components/angular-user-management/dist/registration/registration.js"></script>
<script src="bower_components/angular-user-management/dist/registration/templates.js"></script>
  • Inject the modules as a dependency of your main app module.
angular.module('app', [
    'user-management.password',
    'user-management.profile',
    'user-management.registration',
    'user-management.verification'
]);

These settings are extended with defaults defined in the services so you can provide values to override with here.

It's planned to deprecate this method of configuring settings, moving towards a factory of settings.

i18n

All strings are marked as translatable using angular-gettext syntax.

Tests

  • grunt test

When working on tests, make sure the dist is up-to-date:

  • grunt dist
  • grunt karma:dev will watch dist and test files and run again when they change (helpful)