Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /*чтобы выводить вместе с тегами*/
- port.filter('asHTML', function($sce) {
- return function(input) {
- return $sce.trustAsHtml(input);
- };
- })
- /*<p ng-bind-html="work.html | asHTML"></p>*/
- /*чтобы выводить вместе с тегами end*/
Add Comment
Please, Sign In to add comment