authentication.service.js 562 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+'/applicants', 
            {});
           
        }

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