te = $route;&#10;      this.$location = $location;&#10;      this.$routeParams = $routeParams;&#10;  }])&#10;  .controller(&#39;BookCtrl&#39;, [&#39;$routeParams&#39;, function($routeParams) {&#10;    this.name = &quot;BookCtrl&quot;;&#10;    this.params = $routeParams;&#10;  }])&#10;  .controller(&#39;ChapterCtrl&#39;, [&#39;$routeParams&#39;, function($routeParams) {&#10;    this.name = &quot;ChapterCtrl&quot;;&#10;    this.params = $routeParams;&#10;  }]);</code></pre>
    </div>
  
    <div class="runna