angular-eha.login-dialog

1.0.4 • Public • Published

angular-eha.login-dialog

Build Status

Login dialog box

A login dialog box UI for angular-eha.login-service. Check out the demo.

Usage

The provided template depends on:

  • Bootstrap (css)
  • Font Awesome
  • $modal from UI Bootstrap
  • Angular Gettext

After you've ensured they are sourced, add this module to your app's dependencies and configure ehaLoginService with a CouchDB database endpoint:

angular.module('app', [
  'eha.login-service',
  'eha.login-dialog'
])
  .config(function(ehaLoginServiceProvider) {
    ehaLoginServiceProvider.config('https://couchdb.example.com/my-db')
  })

Then call ehaLoginService.maybeShowLoginUi somewhere in your application.

Installation

Install with npm:

npm install --save angular-eha.login-dialog

Or alternatively bower:

bower install --save angular-eha.login-dialog

Then simply add eha.login-dialog as a dependency somewhere in your project that makes sense and you're good to go.

Contributors

License

Released under the Apache 2.0 License.

Readme

Keywords

Package Sidebar

Install

npm i angular-eha.login-dialog

Weekly Downloads

4

Version

1.0.4

License

Apache-2.0

Last publish

Collaborators