私はテンプレートを使用しようとしていますが、動作していません。私が間違っていることはありますか?angularjs:ng-includeは別のビューでは動作しません
ビュー構造:
https://i.stack.imgur.com/yFeYs.png
UserList.html:
<p>
UserList
</p>
<div ng-include src="'../Partials/Paging.html'"></div>
更新:
Paging : localhost/Administrator/App/Views/User/UserList.html
UserList : localhost/Administrator/App/Views/Partials/Paging.html
Index : localhost/Administrator/Index.html
あなたのindex.htmlはどこですか? 'src =" Partials/Paging.html "' – murli2308
ページング:http://localhost/Administrator/App/Views/Partials/Paging.html ----とindex:http:// localhost/Administrator/Indexを試してください。 html – mywindowshosting2016
私の答えで与えられたパスが正しいかどうかを試してください – Nitheesh