Make Identity module more AngularJs Like !
This commit is contained in:
parent
1cd1ae92f4
commit
65bcc72059
7 changed files with 63 additions and 82 deletions
|
@ -6,9 +6,9 @@
|
|||
* @param {$scope} $scope The $scope service from angular
|
||||
* @param {sharedProfile} sharedProfile The sharedProfile build by ourself
|
||||
*/
|
||||
mainApp.controller('statusCtrl', ['$scope','sharedProfile', function ($scope, sharedProfile)
|
||||
mainApp.controller('statusCtrl', ['$scope','Identity', function ($scope, Identity)
|
||||
{
|
||||
$scope.profile=sharedProfile;
|
||||
$scope.profile=Identity.profile;
|
||||
|
||||
|
||||
}]);
|
||||
}]);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue