Showing posts with label Show Trusted HTML. Show all posts
Showing posts with label Show Trusted HTML. Show all posts

Monday, February 22, 2016

Show trusted HTML in AngularJS

angular.module('myAngApp.filters', []).
filter("sanitize", ['$sce', function($sce) {
  return function(htmlCode){
    return $sce.trustAsHtml(htmlCode);
  }
}]);

SharePoint Framework client-side web part sample with Angular Elements

Greeting Web Part This web part is created with Angular Element. It has one element “ issharepoint ” which takes true if user is...