通过ajax动态加载的子页面,上面定义的ng-controller为什么无法运行

2025-03-11 09:41:25
推荐回答(1个)
回答1:

angularJS在页面中输出html标签的方法: angular.module("bgoApp",[]). controller("bgoCtrl",function($scope){ $scop.title="省流量、防偷跑,\n守护你的流量"; }); angularJS里边输出换行有两种方式: 1、使用转义字符,即\n 2、往页面上appe...