From 65bcc720596b395298fa281b5b68737d04ffdb8a Mon Sep 17 00:00:00 2001 From: manzerbredes Date: Wed, 10 Feb 2016 17:47:01 +0100 Subject: Make Identity module more AngularJs Like ! --- client/js/controllers/status.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'client/js/controllers/status.js') 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 +}]); -- cgit v1.2.3