/** * The status controller * * @param {$scope} $scope The $scope service from angular * @param {sharedProfile} sharedProfile The sharedProfile build by ourself */ mainApp.controller('statusCtrl', ['$scope','Identity', function ($scope, Identity) { $scope.profile=Identity.profile; }]);