Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // could be a directive
- webApp.controller("myController", function($scope,$sce){
- var someHtml = "<h1>I am HTML, hear me ROAR!</h1>";
- $scope.someModelVar = $sce.trustAsHtml(someHtml);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement