(html)
| 16524 | this.$get = ['$injector', function($injector) { |
| 16525 | |
| 16526 | var htmlSanitizer = function htmlSanitizer(html) { |
| 16527 | throw $sceMinErr('unsafe', 'Attempting to use an unsafe value in a safe context.'); |
| 16528 | }; |
| 16529 | |
| 16530 | if ($injector.has('$sanitize')) { |
| 16531 | htmlSanitizer = $injector.get('$sanitize'); |