(html)
| 19577 | this.$get = ['$injector', '$$sanitizeUri', function($injector, $$sanitizeUri) { |
| 19578 | |
| 19579 | var htmlSanitizer = function htmlSanitizer(html) { |
| 19580 | throw $sceMinErr('unsafe', 'Attempting to use an unsafe value in a safe context.'); |
| 19581 | }; |
| 19582 | |
| 19583 | if ($injector.has('$sanitize')) { |
| 19584 | htmlSanitizer = $injector.get('$sanitize'); |