(fn)
| 7590 | |
| 7591 | function factory($injector) { |
| 7592 | function makeInjectable(fn) { |
| 7593 | if (isFunction(fn) || isArray(fn)) { |
| 7594 | return function(tElement, tAttrs) { |
| 7595 | return $injector.invoke(fn, this, {$element: tElement, $attrs: tAttrs}); |
| 7596 | }; |
| 7597 | } else { |
| 7598 | return fn; |
| 7599 | } |
| 7600 | } |
| 7601 | |
| 7602 | var template = (!options.template && !options.templateUrl ? '' : options.template); |
| 7603 | return { |
no test coverage detected