authentication.service.js 421 Bytes
(function(){
  'use strict';

    angular.module('sbAdminApp')
        .service('LoginService', ['$q', '$http', '$rootScope', '$resource', 'BASE_URL', 'USER_ROLES', LoginService]);

    function LoginService($q, $http, $rootScope, $resource, BASE_URL, USER_ROLES) {

        this.createForm = function(){
            return $resource(BASE_URL+'/userProfiles', 
            {});
           
        }
        
    }

})();