ode></pre>
    </div>
  
    <div class="runnable-example-file" 
      name="script.js"
      language="js"
      type="js">
      <pre><code>angular.module(&#39;ngViewExample&#39;, [&#39;ngRoute&#39;, &#39;ngAnimate&#39;])&#10;  .config([&#39;$routeProvider&#39;, &#39;$locationProvider&#39;,&#10;    function($routeProvider, $locationProvider) {&#10;      $routeProvider&#10;        .when(&#39;/Book/:bookId&#39;, {&#10;          templateUrl: &#39;book.html&#39;,&#10;          controller: &#39;BookCtrl&#39;,&