directive(name, directiveFactory);
Register a new directive with the compiler.
Parameters
| Param | Type | Details |
|---|---|---|
| name | stringObject | Name of the directive in camel-case (i.e. |
| directiveFactory | function()Array | An injectable directive factory function. See the directive guide and the compile API for more info. |
Returns
ng.$compileProvider |
Self for chaining. |
Please login to continue.