Answers for "$sce trust url"

0

$sce trust url

angular.module('myApp')
  .filter('trustUrl', function ($sce) {
    return function(url) {
      return $sce.trustAsResourceUrl(url);
    };
  });
Posted by: Guest on December-08-2020

Browse Popular Code Answers by Language