(fn)
| 8967 | |
| 8968 | function factory($injector) { |
| 8969 | function makeInjectable(fn) { |
| 8970 | if (isFunction(fn) || isArray(fn)) { |
| 8971 | return /** @this */ function(tElement, tAttrs) { |
| 8972 | return $injector.invoke(fn, this, {$element: tElement, $attrs: tAttrs}); |
| 8973 | }; |
| 8974 | } else { |
| 8975 | return fn; |
| 8976 | } |
| 8977 | } |
| 8978 | |
| 8979 | var template = (!options.template && !options.templateUrl ? '' : options.template); |
| 8980 | var ddo = { |
no test coverage detected