(fn)
| 8902 | |
| 8903 | function factory($injector) { |
| 8904 | function makeInjectable(fn) { |
| 8905 | if (isFunction(fn) || isArray(fn)) { |
| 8906 | return /** @this */ function(tElement, tAttrs) { |
| 8907 | return $injector.invoke(fn, this, {$element: tElement, $attrs: tAttrs}); |
| 8908 | }; |
| 8909 | } else { |
| 8910 | return fn; |
| 8911 | } |
| 8912 | } |
| 8913 | |
| 8914 | var template = (!options.template && !options.templateUrl ? '' : options.template); |
| 8915 | var ddo = { |
no test coverage detected