(fn)
| 8455 | |
| 8456 | function factory($injector) { |
| 8457 | function makeInjectable(fn) { |
| 8458 | if (isFunction(fn) || isArray(fn)) { |
| 8459 | return /** @this */ function(tElement, tAttrs) { |
| 8460 | return $injector.invoke(fn, this, {$element: tElement, $attrs: tAttrs}); |
| 8461 | }; |
| 8462 | } else { |
| 8463 | return fn; |
| 8464 | } |
| 8465 | } |
| 8466 | |
| 8467 | var template = (!options.template && !options.templateUrl ? '' : options.template); |
| 8468 | var ddo = { |
no test coverage detected