title: simple angularjs app view not loading
body: <p>I'm trying to get into angularJS by writing the most basic app. However I'm unable to get even this small amount of code working - the controller doesn't seem to be displaying any of the views. This is almost a direct copy from a popular angularjs video I saw online. I have a feeling its not something big, and my guess is that I possibly have something wrong with the ng-view.</p>
  
  <p>Any insight on what I'm doing wrong would be helpful. </p>
  
  <h1>index.html</h1>
  
  <pre><code>&lt;!doctype html&gt;
  &lt;html ng-app="fastsql"&gt;
  &lt;head&gt;
  &lt;/head&gt;
  &lt;body&gt;
  &lt;div class="well"&gt;
    &lt;div ng-view&gt;&lt;/div&gt;
  &lt;/div&gt;
  
  
  &lt;script src="angular.min.js"&gt;&lt;/script&gt;
  &lt;script src="fastsql.js"&gt;&lt;/script&gt;  
  
  &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>
  
  <h1>fastsql.js</h1>
  
  <pre><code>// setup fastsql as angular app "module"
  var fastsql = angular.module("fastsql", []);
  
  // set routeProvider rules in .config()
  fastsql.config(function($routeProvider) {
  
  // set what views are displayed for each change in the URL.
  $routeProvider
  .when("/", { controller: 'loginCntl', templateURL: 'test.html' })
  .otherwise({ redirectTo: '/' });
  
  });
  
  // controllers
  fastsql.controller("loginCntl", function($scope) { $scope.message = "hey"; });
  </code></pre>