(html)
| 15243 | this.$get = ['$injector', function($injector) { |
| 15244 | |
| 15245 | var htmlSanitizer = function htmlSanitizer(html) { |
| 15246 | throw $sceMinErr('unsafe', 'Attempting to use an unsafe value in a safe context.'); |
| 15247 | }; |
| 15248 | |
| 15249 | if ($injector.has('$sanitize')) { |
| 15250 | htmlSanitizer = $injector.get('$sanitize'); |