angularjs Error: [$compile:tpload] Failed to load template

前端 未结 4 910
谎友^
谎友^ 2021-01-05 02:50

I am trying to build simple routing app in angularjs. I have main index.html page with ng-view div and javascript code for routing. Also 2 simple html pages view2.html and v

4条回答
  •  被撕碎了的回忆
    2021-01-05 03:12

    Error: Access is denied tells you that the template is not accessible. Try to open the template in your browser. Something like this: http://my_project/partials1/view3.html. To see the full URL which is used by your app, use a dubug console (XHR tab).

提交回复
热议问题