(fn)
| 8519 | |
| 8520 | function factory($injector) { |
| 8521 | function makeInjectable(fn) { |
| 8522 | if (isFunction(fn) || isArray(fn)) { |
| 8523 | return /** @this */ function(tElement, tAttrs) { |
| 8524 | return $injector.invoke(fn, this, {$element: tElement, $attrs: tAttrs}); |
| 8525 | }; |
| 8526 | } else { |
| 8527 | return fn; |
| 8528 | } |
| 8529 | } |
| 8530 | |
| 8531 | var template = (!options.template && !options.templateUrl ? '' : options.template); |
| 8532 | var ddo = { |
no test coverage detected