(html)
| 15014 | this.$get = ['$injector', function($injector) { |
| 15015 | |
| 15016 | var htmlSanitizer = function htmlSanitizer(html) { |
| 15017 | throw $sceMinErr('unsafe', 'Attempting to use an unsafe value in a safe context.'); |
| 15018 | }; |
| 15019 | |
| 15020 | if ($injector.has('$sanitize')) { |
| 15021 | htmlSanitizer = $injector.get('$sanitize'); |