<title>上的ng-bind不起作用

Syl*_*Syl 7 angularjs ng-bind

使用1.3.0-rc1(最新版).

我试过了:

<title ng-bind="title"></title>

<title>{{title}}</title>
Run Code Online (Sandbox Code Playgroud)

但没什么.

如果我在其中的{{title}}任何地方<body>工作.

我正在做:

app.main.run(function($rootScope) {
    $rootScope.$on('$routeChangeSuccess', function(event, current, previous) {
        if (current.hasOwnProperty('$$route')) {
            $rootScope.title = current.$$route.title;
        }
    });
});
Run Code Online (Sandbox Code Playgroud)

我可以title在模型中看到我.这是怎么回事用<title>标签?

Syl*_*Syl 5

这是通过将固定ng-app<html>标签.