AngularJS 1.6 routing not working
<p>I am trying to create my first angular app. But its not working at all. I have no idea what's the problem. I checked the console, but there's no erros.</p>

<pre><code>&lt;head&gt;
 &lt;meta charset="utf-8"&gt;
 &lt;script src="https://code.angularjs.org/1.6.0/angular.min.js"&gt;&lt;/script&gt;
 &lt;script src="http://ajax.googleapis.com/ajax/libs/angularjs/1.6.0/angular-route.js"&gt;&lt;/script&gt;
&lt;/head&gt;
&lt;body ng-app="myApp"&gt;
  &lt;h1&gt;Test angular&lt;/h1&gt;
  &lt;a href="#/"&gt;Main&lt;/a&gt;
  &lt;a href="#sec"&gt;Second&lt;/a&gt;
  &lt;a href="#th"&gt;Third&lt;/a&gt;
  &lt;div ng-view&gt;&lt;/div&gt;
&lt;/body&gt;

&lt;script&gt;
var app = angular.module("myApp", ["ngRoute"]);
app.config(function($routeProvider) {
  $routeProvider
  .when("/", {
      templateUrl : "main.html"
  })
  .when("/sec", {
      templateUrl : "sec.html"
  })
  .when("/th", {
      templateUrl : "th.html"
  });
});
&lt;/script&gt;
</code></pre>

<p>Can anyone help me?</p>