2017-08-15 09:37:37 -06:00
|
|
|
app.controller('homeCtrl', [
|
2017-08-14 20:04:44 +00:00
|
|
|
'$rootScope', '$scope', 'Auth', 'localStorageService', '$location', 'azp@oauth3.org'
|
2017-08-14 19:54:42 +00:00
|
|
|
, function ($rootScope, $scope, Auth, localStorageService, $location, Oauth3) {
|
|
|
|
|
|
2017-08-09 12:41:43 -06:00
|
|
|
var vm = this;
|
2017-08-14 19:54:42 +00:00
|
|
|
vm.oauth3 = Oauth3.oauth3;
|
2017-08-08 22:23:19 -06:00
|
|
|
|
2017-08-11 13:21:35 -06:00
|
|
|
vm.notification = true;
|
|
|
|
|
|
2017-08-11 09:09:41 -06:00
|
|
|
vm.userName = function(profile){
|
|
|
|
|
profile = Auth.getProfile();
|
|
|
|
|
return profile.email;
|
|
|
|
|
};
|
2017-08-10 11:36:59 -06:00
|
|
|
|
2017-08-14 23:00:01 +00:00
|
|
|
throw new Error('loaded home controller');
|
2017-08-08 14:54:25 -06:00
|
|
|
}]);
|