摘要: angular 1.2以后(或更早?)移除了ng-bind-html-unsafe,那么我要用这个directive来绑定html代码怎么办?随便一测试,它是不支持把html直接传给它的: //html //js $scope.m="text"; //error: [$sce:unsafe] Attempting to use an unsafe value in ... 阅读全文
posted @ 2014-02-20 00:30 $walker 阅读(3043) 评论(0) 推荐(0) 编辑