I'm trying to do something simple in Plunker that is loading the contents of home.html into index.html , however, .
Before it was not even working this line of code (when putting the ngRoute dapency but after adding the necessary lib worked):
var app = angular.module('plunker', ['ngRoute']);
Now these lines are giving trouble:
app.config(['$routeProvider', function($routeProvider){
$routeProvider.
when('/home', {
templareUrl: 'home.html'
})
}]);
The goal is simple: to call the contents of home.html in index.html
Follow the link: link