angular.js - How to read the upper level directory with ng-include?
PHP中文网
PHP中文网 2017-06-28 09:27:24
0
2
1298

The calling file directory is directory a, which is at the same level as the control-panes directory. Why is ../ ignored?

PHP中文网
PHP中文网

认证高级PHP讲师

reply all(2)
刘奇

Try changing the path referenced by ng-include to a path relative to index.html

In addition, ng-include has different writing methods of writing src and not writing src

淡淡烟草味

Try using absolute paths and start writing from the root directory

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template