MCPcopy Create free account
hub / github.com/angular-ui/ui-grid / htmlSanitizer

Function htmlSanitizer

lib/test/angular/1.6.7/angular.js:19268–19270  ·  view source on GitHub ↗
(html)

Source from the content-addressed store, hash-verified

19266 this.$get = ['$injector', function($injector) {
19267
19268 var htmlSanitizer = function htmlSanitizer(html) {
19269 throw $sceMinErr('unsafe', 'Attempting to use an unsafe value in a safe context.');
19270 };
19271
19272 if ($injector.has('$sanitize')) {
19273 htmlSanitizer = $injector.get('$sanitize');

Callers 1

getTrustedFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected