diff options
| author | manzerbredes <loic.guegan_secondary@yahoo.fr> | 2016-02-10 17:47:01 +0100 |
|---|---|---|
| committer | manzerbredes <loic.guegan_secondary@yahoo.fr> | 2016-02-10 17:47:01 +0100 |
| commit | 65bcc720596b395298fa281b5b68737d04ffdb8a (patch) | |
| tree | d0d9d890d3562bf806665845e2c1989bc25e1492 /client/js/controllers/status.js | |
| parent | 1cd1ae92f414573942262f65dc1644e8ff9bb8f6 (diff) | |
Make Identity module more AngularJs Like !
Diffstat (limited to 'client/js/controllers/status.js')
| -rw-r--r-- | client/js/controllers/status.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/client/js/controllers/status.js b/client/js/controllers/status.js index ce6882e..7425244 100644 --- a/client/js/controllers/status.js +++ b/client/js/controllers/status.js @@ -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; -}]);
\ No newline at end of file +}]); |
