ng-view not displaying template <p>I'm following a tutorial from Pluralsight about Angular basics, and one of the topics that it covers is about routing using <code>ngRoute</code>.</p> <p>So I'm having troubles with that specific topic because I'm trying to make an app that manages routes, and I don't have any clue how to make it work since it doesn't show any errors.</p> <p>Here's the <code>index.html</code> file.</p> <pre><code>&lt;!DOCTYPE html&gt; &lt;html ng-app="angularPlayground"&gt; &lt;head&gt; &lt;meta charset="utf-8"&gt; &lt;title&gt;Angular playground&lt;/title&gt; &lt;script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.5.8/angular.min.js"&gt;&lt;/script&gt; &lt;script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.4.7/angular-route.js"&gt;&lt;/script&gt; &lt;!-- Angular initalization --&gt; &lt;script src="app-module.js"&gt;&lt;/script&gt; &lt;script src="app-router.js"&gt;&lt;/script&gt; &lt;!-- Controllers --&gt; &lt;script src="app/main/main-ctrl.js"&gt;&lt;/script&gt; &lt;script src="app/faces/faces-ctrl.js"&gt;&lt;/script&gt; &lt;script src="app/location/location-ctrl.js"&gt;&lt;/script&gt; &lt;!-- Services --&gt; &lt;script src="app/faces/faces-service.js"&gt;&lt;/script&gt; &lt;/head&gt; &lt;body&gt; &lt;h1&gt;Welcome to the Angular playground&lt;/h1&gt; &lt;h4&gt;Select what you want to see.&lt;/h4&gt; &lt;div ng-view&gt;&lt;/div&gt; &lt;/body&gt; &lt;/html&gt; </code></pre> <p>Here's the routes file.</p> <pre><code>(function() { angular .module('angularPlayground') .config(function($routeProvider) { $routeProvider .when('/', { templateUrl: 'app/main/main.html' }) .when('/faces/:username', { templateUrl: 'app/faces/user.html', controller: 'FacesController' }) .otherwise({ redirectTo: '/' }); }); })(); </code></pre> <p>And here's the <code>main.html</code> file.</p> <pre><code>&lt;ul&gt; &lt;li&gt;&lt;a href="#"&gt;Experiments&lt;/a&gt;&lt;/li&gt; &lt;li&gt;&lt;a href="#"&gt;Faces API&lt;/a&gt;&lt;/li&gt; &lt;li&gt;&lt;a href="#"&gt;Location&lt;/a&gt;&lt;/li&gt; &lt;/ul&gt; </code></pre> <p>I did check if the path of the <code>main.html</code> file is correct, and it should be, because when I enter its URL in the browser, it loads without any problem.</p> <p>By the way, <a href="http://plnkr.co/edit/1Wlny3QbaVdHlrrvjeXp?p=preview" rel="nofollow">here's the Plunker</a>, if you need it.</p> <p>Thanks in advance.</p>