您的位置:首页技术文章
文章详情页

angular.js - ng-include在加载后莫名被自动注释掉

浏览:68日期:2024-10-12 13:54:09

问题描述

在使用

angular.js - ng-include在加载后莫名被自动注释掉

引入后,页面没有正常显示,还自动给我注释了

angular.js - ng-include在加载后莫名被自动注释掉

不知道是为什么?

问题解答

回答1:

已解决~ 在内部再套对单括号即可:

<p ng-include='’templates/footer.html’'></p>

相关文章: