摘要: Create awrapWithdirective using advanced transclusion techniques.transclude- compile the content of the element and make it available to the directive... 阅读全文
posted @ 2014-12-21 23:43 Zhentiw 阅读(508) 评论(0) 推荐(0)
摘要: /** * Created by Answer1215 on 12/21/2014. */angular.module('app', []) .controller('FirstCtrl' , function(){ var vm = this; vm.messag... 阅读全文
posted @ 2014-12-21 22:54 Zhentiw 阅读(527) 评论(0) 推荐(0)
摘要: Safely render arbitrary HTML snippets by using ngSanitize and $sce.By default angularJS consider user's input html is danger, so if you want to displa... 阅读全文
posted @ 2014-12-21 05:11 Zhentiw 阅读(889) 评论(0) 推荐(0)