(fn)
| 8380 | |
| 8381 | function factory($injector) { |
| 8382 | function makeInjectable(fn) { |
| 8383 | if (isFunction(fn) || isArray(fn)) { |
| 8384 | return /** @this */ function(tElement, tAttrs) { |
| 8385 | return $injector.invoke(fn, this, {$element: tElement, $attrs: tAttrs}); |
| 8386 | }; |
| 8387 | } else { |
| 8388 | return fn; |
| 8389 | } |
| 8390 | } |
| 8391 | |
| 8392 | var template = (!options.template && !options.templateUrl ? '' : options.template); |
| 8393 | var ddo = { |
no test coverage detected