incuna / angular-user-management

Angular library to interface a registration/user API

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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)

About

Angular library to interface a registration/user API

License:MIT License


Languages

Language:JavaScript 84.1%Language:HTML 15.9%Language:Makefile 0.1%