12 lines
184 B
JavaScript
12 lines
184 B
JavaScript
|
app.factory('authService', function($q){
|
||
|
return {
|
||
|
getUser: function(){
|
||
|
var user = {
|
||
|
email: 'jane@doe.com',
|
||
|
password: 'password'
|
||
|
}
|
||
|
return $q.when(user);
|
||
|
}
|
||
|
};
|
||
|
});
|