Texts and URL fixes

This commit is contained in:
baldo 2016-06-20 22:28:01 +02:00
parent 8e42a60f68
commit 8dbec7612b
5 changed files with 13 additions and 7 deletions
app/scripts

View file

@ -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;
});
});