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