title: passing parameter with ngroute
body: <p>here is my </p>
  
  <p>angularroute.html</p>
  
  <pre><code>&lt;html xmlns="http://www.w3.org/1999/xhtml" ng-app="AngularApp"&gt;
  &lt;head&gt;
      &lt;title&gt;&lt;/title&gt;
      &lt;script src="angular.js"&gt;&lt;/script&gt;
      &lt;script src="angular-route.js"&gt;&lt;/script&gt;
      &lt;script type="text/javascript"&gt;
  
          var AngApp = angular.module('AngularApp', ['ngRoute']);
          AngApp.config(function ($routeProvider) {
              $routeProvider
                  .when('/Route1/:ID', {
                      templateUrl:'Route1.html',
                      controller:'Route1'
  
                  })
                  .when('/Route2', {
                      templateUrl: 'Route2.html',
                      controller:'Route2'
                  })
  
                  .otherwise({
                      redirectTo: '/'
                  });
          });
  
      &lt;/script&gt;
  
              &lt;/head&gt;
              &lt;body&gt;
  
                  &lt;p&gt;Routing Explained&lt;/p&gt;
                  &lt;a href="#Route1/100"&gt;Route1&lt;/a&gt;&lt;br&gt;
                  &lt;a href="#Route2"&gt;Route2&lt;/a&gt;
                  &lt;div ng-view&gt;
  
                  &lt;/div&gt;
  
                  &lt;script src="Route.js"&gt;&lt;/script&gt;       
  
  
              &lt;/body&gt;
              &lt;/html&gt;
  </code></pre>
  
  <p>the Route.js file contains.</p>
  
  <pre><code>angular.module('Route1').controller('Route1', function ($scope, $routeParams) {
      $scope.ID = $routeParams.ID;
  });
  
  angular.module('Route2').controller('Route2', function () {
  });
  </code></pre>
  
  <p>Route1.html</p>
  
  <pre><code>&lt;html xmlns="http://www.w3.org/1999/xhtml" ng-app="Route1"&gt;
  &lt;head&gt;
      &lt;title&gt;&lt;/title&gt;
  
  &lt;/head&gt;
  &lt;body ng-controller="Route1"&gt;
  
  
      {{ID}}
  
      {{4+10}}
  
  &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>
  
  <p>the problem is it loads the page but i can not receive get the parameter value , on route1.html ,the expression also do not get evaluated .
  what could be the problem?
  thanks.</p>