Closed kscc25 closed 9 years ago
This will cause the old $title will be used in the new state that doesn't have $title instead of default title set in the template:
$title
if(title) { $timeout(function() { $rootScope.$title = title; }); }
Should be change to this:
title = title || ''; $timeout(function() { $rootScope.$title = title; });
I have a workaround commit here but not intend to send PR because I'm lazy to install gulp and writing tests :D.
This will cause the old
$title
will be used in the new state that doesn't have$title
instead of default title set in the template:Should be change to this:
I have a workaround commit here but not intend to send PR because I'm lazy to install gulp and writing tests :D.