Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR RUST

$sce trust url

angular.module('myApp')
  .filter('trustUrl', function ($sce) {
    return function(url) {
      return $sce.trustAsResourceUrl(url);
    };
  });
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #trust #url
ADD COMMENT
Topic
Name
1+1 =