Closed jlsalmon closed 2 years ago
I believe just updating $rootScope.$title
might work, but I haven't tried it yet.
For me that only worked if I defered the execution (via lodash/underscore _.defer function) i.e.:
_.defer(function () {
$rootScope.$title = 'Photo of ' + user.name;
});
else something overwrote it to blank...
Hi,
I'm wondering how I might be able to trigger a change in the title when an event occurs? I.e. something like:
edit: I'm using angular-translate. I tried the following, but it didn't work:
P.S. Great plugin, thanks!