MCPcopy Index your code
hub / github.com/angular-ui/ui-grid / htmlSanitizer

Function htmlSanitizer

lib/test/angular/1.7.0/angular.js:19579–19581  ·  view source on GitHub ↗
(html)

Source from the content-addressed store, hash-verified

19577 this.$get = ['$injector', '$$sanitizeUri', function($injector, $$sanitizeUri) {
19578
19579 var htmlSanitizer = function htmlSanitizer(html) {
19580 throw $sceMinErr('unsafe', 'Attempting to use an unsafe value in a safe context.');
19581 };
19582
19583 if ($injector.has('$sanitize')) {
19584 htmlSanitizer = $injector.get('$sanitize');

Callers 1

getTrustedFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected