title: angularjs routing,am being mixed up with the real path
body: <p>am new to angularJS routing. am folowing a simple tutorial on routing but no +ve results
  <strong>index.html</strong></p>
  
  <pre><code>&lt;!DOCTYPE html&gt;
  &lt;html&gt;
  &lt;head&gt;
  &lt;meta charset="ISO-8859-1"&gt;
  &lt;title&gt;angularJS routing&lt;/title&gt;
  &lt;link type="text/css" rel="stylesheet" href="js/foundation.min.css"&gt;
  
  &lt;/head&gt;
  &lt;body&gt;
  &lt;div ng-app="viewApp"&gt;
      &lt;ng-view&gt;&lt;/ng-view&gt;
  &lt;/div&gt;
  &lt;script type="text/javascript" src="js/angular.min.js"&gt;&lt;/script&gt;
  &lt;script type="text/javascript" src="js/ng-view.js"&gt;&lt;/script&gt;
  
  &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>
  
  <p><strong>ng-view.js</strong></p>
  
  <pre><code>var app = angular.module('viewApp', []);
  app.config(function($routeProvider) {
  $routeProvider.when('http://localhost/eclipse_PHP_Workspace/AngularJS/', {
      templateUrl : "ng-view-template.html",
      controller : "viewCtrl"
  });
  });
  
  app.controller('viewCtrl', function($scope) {
  $scope.model = {
      message : "Helo ng-view !"
  }
  })
  </code></pre>
  
  <p>in the ng-view file above(<code>$routeProvider.when('http://localhost/eclipse_PHP_Workspace/AngularJS/',</code>), what does the path here realy mean .is it the application root folder or the server route folder coz all the tutorials am seeing even for john linquist he is using the server root folder.and is my path correct coz my angularJS app is in <strong><a href="http://localhost/eclipse_PHP_Workspace/AngularJS/" rel="nofollow">http://localhost/eclipse_PHP_Workspace/AngularJS/</a></strong></p>