Texts and URL fixes
This commit is contained in:
parent
8e42a60f68
commit
8dbec7612b
5 changed files with 13 additions and 7 deletions
app/scripts
|
@ -63,7 +63,7 @@ angular.module('ffffng', [
|
|||
})
|
||||
.run(function ($location, $rootScope, config) {
|
||||
$rootScope.$on('$routeChangeSuccess', function (event, current) {
|
||||
$rootScope.title = current.$$route.title;
|
||||
$rootScope.title = current.$$route ? (current.$$route.title || '') : '';
|
||||
$rootScope.config = config;
|
||||
});
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue