diff options
| author | David Bennett | 2013-09-23 21:45:48 -0400 | 
|---|---|---|
| committer | Brian Ford | 2013-09-27 16:11:42 -0700 | 
| commit | 9a21050b436011693e4eb7e3ace1300a1b0fd2d4 (patch) | |
| tree | 26710b61cc864680a737c2563d67407b53144479 /src/ng/compile.js | |
| parent | 8473b9d5589659b23bfcdd89816339f4bb43d3ba (diff) | |
| download | angular.js-9a21050b436011693e4eb7e3ace1300a1b0fd2d4.tar.bz2 | |
docs(angular.Module): fix controller and directive method parameters
Diffstat (limited to 'src/ng/compile.js')
| -rw-r--r-- | src/ng/compile.js | 9 | 
1 files changed, 5 insertions, 4 deletions
| diff --git a/src/ng/compile.js b/src/ng/compile.js index 5cd220ef..3a72db58 100644 --- a/src/ng/compile.js +++ b/src/ng/compile.js @@ -168,10 +168,11 @@ function $CompileProvider($provide) {     * @description     * Register a new directive with the compiler.     * -   * @param {string} name Name of the directive in camel-case. (ie <code>ngBind</code> which will match as -   *                <code>ng-bind</code>). -   * @param {function|Array} directiveFactory An injectable directive factory function. See {@link guide/directive} for more -   *                info. +   * @param {string|Object} name Name of the directive in camel-case (i.e. <code>ngBind</code> which +   *    will match as <code>ng-bind</code>), or an object map of directives where the keys are the +   *    names and the values are the factories. +   * @param {function|Array} directiveFactory An injectable directive factory function. See +   *    {@link guide/directive} for more info.     * @returns {ng.$compileProvider} Self for chaining.     */     this.directive = function registerDirective(name, directiveFactory) { | 
