MCPcopy Create free account
hub / github.com/EricSimons/ionic-course / htmlSanitizer

Function htmlSanitizer

code/songhop/www/lib/angular/angular.js:15016–15018  ·  view source on GitHub ↗
(html)

Source from the content-addressed store, hash-verified

15014 this.$get = ['$injector', function($injector) {
15015
15016 var htmlSanitizer = function htmlSanitizer(html) {
15017 throw $sceMinErr('unsafe', 'Attempting to use an unsafe value in a safe context.');
15018 };
15019
15020 if ($injector.has('$sanitize')) {
15021 htmlSanitizer = $injector.get('$sanitize');

Callers 1

getTrustedFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected