#10;          controllerAs: &#39;book&#39;&#10;        })&#10;        .when(&#39;/Book/:bookId/ch/:chapterId&#39;, {&#10;          templateUrl: &#39;chapter.html&#39;,&#10;          controller: &#39;ChapterCtrl&#39;,&#10;          controllerAs: &#39;chapter&#39;&#10;        });&#10;&#10;      $locationProvider.html5Mode(true);&#10;  }])&#10;  .controller(&#39;MainCtrl&#39;, [&#39;$route&#39;, &#39;$routeParams&#39;, &#39;$location&#39;,&#10;    function($route, $routeParams, $location) {&#10;      this.$rou