MCPcopy
hub / github.com/angular/angular / directive

Method directive

packages/upgrade/src/common/src/angular1.ts:28–28  ·  view source on GitHub ↗
(selector: string, factory: IInjectable)

Source from the content-addressed store, hash-verified

26 requires: (string | IInjectable)[];
27 config(fn: IInjectable): IModule;
28 directive(selector: string, factory: IInjectable): IModule;
29 component(selector: string, component: IComponent): IModule;
30 controller(name: string, type: IInjectable): IModule;
31 factory(key: Ng1Token, factoryFn: IInjectable): IModule;

Calls

no outgoing calls

Tested by 4