Configuration for the client.
This commit is contained in:
parent
637fd10606
commit
249275bc0a
13 changed files with 53 additions and 28 deletions
app/scripts
|
@ -40,8 +40,9 @@ angular.module('ffffng', [
|
|||
}
|
||||
};
|
||||
})
|
||||
.run(['$location', '$rootScope', function ($location, $rootScope) {
|
||||
.run(function ($location, $rootScope, config) {
|
||||
$rootScope.$on('$routeChangeSuccess', function (event, current) {
|
||||
$rootScope.title = current.$$route.title;
|
||||
$rootScope.config = config;
|
||||
});
|
||||
}]);
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue