Skip to content

Gizra/angular-auth

Repository files navigation

angular-auth

Getting Started

Intallation via bower:

bower install git@github.com:Gizra/angular-auth.git

Include the required libraries:

<script src='bower_components/angular-auth/dist/angular-auth.min.js'></script>

Inject the angular-auth module into your app:

angular.module('myApp', ['gz.angular-auth']);

Example: After add the module, we can use the service User

angular.module('myApp')
  .controller('LoginCtrl', function(User) {
    var user = {
      username: 'admin',
      password: 'admin'
    }

    User.login(user);
  })

About

Authentication component for AngularJs

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published