(html)
| 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'); |