Using 1.3.0-rc1 (latest now).
I tried:
<title ng-bind="title"></title>
<title>{{title}}</title>
But nothing.
If I do {{title}}
anywhere in <body>
it works.
I'm doing:
app.main.run(function($rootScope) {
$rootScope.$on('$routeChangeSuccess', function(event, current, previous) {
if (current.hasOwnProperty('$$route')) {
$rootScope.title = current.$$route.title;
}
});
});
I can see my title
in the model. What's going on with the <title>
tag?
<html>
tag – Sherasherarng-app
was on<body>
instead of<html>
! Thank's – Pufahl