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

Function htmlSanitizer

lib/test/angular/1.5.0/angular.js:17521–17523  ·  view source on GitHub ↗
(html)

Source from the content-addressed store, hash-verified

17519 this.$get = ['$injector', function($injector) {
17520
17521 var htmlSanitizer = function htmlSanitizer(html) {
17522 throw $sceMinErr('unsafe', 'Attempting to use an unsafe value in a safe context.');
17523 };
17524
17525 if ($injector.has('$sanitize')) {
17526 htmlSanitizer = $injector.get('$sanitize');

Callers 1

getTrustedFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected