AngularJS trouble adding page titles
问题 I am writing a web app using AngularJS. It is not a single page application but all my codes are in one file- index.ejs. So my set up for index.ejs roughly looks like this: <head> <title> Main page </title> </head> <body> <div class="row"> <div class="col-md-10 col-md-offset-1"> <ui-view></ui-view> </div> </div> <script type = "text/ng-template" id = "/main.html"> ..... </script> <script type = "text/ng-template" id = "/addStuff.html"> ..... </script> <script type = "text/ng-template" id = "