Angularjs controller not being loaded.
Did you add the controller to the ngHTML?
1 2 3 4 5 |
<div ng-controller="homepageCtrl"> {{name}} </div> |
Did you add the controller to the router?
1 2 3 4 5 6 7 |
$routeProvider.when('/', { controller:homepageCtrl, templateUrl:'homepage.html' }); |