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