angular-eha.login-dialog
v1.0.4
Published
Login dialog box
Downloads
3
Readme
angular-eha.login-dialog
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
- © 2015 Karl Westin [email protected]
- © 2015 Tom Vincent [email protected] (https://tlvince.com)
License
Released under the Apache 2.0 License.