modifying ng-include directive

后端 未结 4 1886
情歌与酒
情歌与酒 2021-01-23 05:37

if I host an angular app at some custom location e.g. http://localhost/collosys then i have to change all the ng-include to have \"/collosys/\" for all the address

4条回答
  •  遥遥无期
    2021-01-23 06:19

    Yes you can, but I would write my own ng-include. If you try to upgrade angular, you will simply overwrite your changes.

提交回复
热议问题