AngularJS ng-view not working

后端 未结 3 823
渐次进展
渐次进展 2021-01-12 22:24

So I followed this guide: http://viralpatel.net/blogs/angularjs-routing-and-views-tutorial-with-example/

But when I try to change the view nothing happens, anybody a

3条回答
  •  春和景丽
    2021-01-12 22:53

    Adding this would work :

    
    

    but it will not work without internet access when running for a first time ,Therefore you should ng-route dependency to your project and refer that in your html file

    How to add ng-route dependency

提交回复
热议问题