Skip to content Skip to sidebar Skip to footer

Testing A Page Using AngularJS's Routing

I am testing AngularJS's routing in making a page. My index.html will have three links Home, Courses, and Students. When each link is clicked, its respective html will be loaded us

Solution 1:

You have not declared ng-app anywhere in the view,

You need to declare it in the view in order to refer the module.It should be,

<body ng-app="Demo">

DEMO


Post a Comment for "Testing A Page Using AngularJS's Routing"