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

Function htmlSanitizer

test/angular/1.2/angular.js:13498–13500  ·  view source on GitHub ↗
(html)

Source from the content-addressed store, hash-verified

13496 this.$get = ['$injector', function($injector) {
13497
13498 var htmlSanitizer = function htmlSanitizer(html) {
13499 throw $sceMinErr('unsafe', 'Attempting to use an unsafe value in a safe context.');
13500 };
13501
13502 if ($injector.has('$sanitize')) {
13503 htmlSanitizer = $injector.get('$sanitize');

Callers 1

getTrustedFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected