diff options
| author | Igor Minar | 2012-04-06 16:35:17 -0700 | 
|---|---|---|
| committer | Igor Minar | 2012-04-09 09:52:27 -0700 | 
| commit | 82d90a409692e97a79c3bf4708ee80796c7de2d6 (patch) | |
| tree | b682f2d3042381e2456383f9c9333d30105febf8 /src/ng/directive/ngCloak.js | |
| parent | 7468bcb80b997e323bb0808d19ee215cc5f7ae84 (diff) | |
| download | angular.js-82d90a409692e97a79c3bf4708ee80796c7de2d6.tar.bz2 | |
fix(docs): change all directive references to use the normalized names
Diffstat (limited to 'src/ng/directive/ngCloak.js')
| -rw-r--r-- | src/ng/directive/ngCloak.js | 12 | 
1 files changed, 6 insertions, 6 deletions
| diff --git a/src/ng/directive/ngCloak.js b/src/ng/directive/ngCloak.js index 7422e15a..b548193b 100644 --- a/src/ng/directive/ngCloak.js +++ b/src/ng/directive/ngCloak.js @@ -2,28 +2,28 @@  /**   * @ngdoc directive - * @name angular.module.ng.$compileProvider.directive.ng-cloak + * @name angular.module.ng.$compileProvider.directive.ngCloak   *   * @description - * The `ng-cloak` directive is used to prevent the Angular html template from being briefly + * The `ngCloak` directive is used to prevent the Angular html template from being briefly   * displayed by the browser in its raw (uncompiled) form while your application is loading. Use this   * directive to avoid the undesirable flicker effect caused by the html template display.   *   * The directive can be applied to the `<body>` element, but typically a fine-grained application is   * prefered in order to benefit from progressive rendering of the browser view.   * - * `ng-cloak` works in cooperation with a css rule that is embedded within `angular.js` and + * `ngCloak` works in cooperation with a css rule that is embedded within `angular.js` and   *  `angular.min.js` files. Following is the css rule:   *   * <pre> - * [ng\:cloak], .ng-cloak { + * [ng\:cloak], [ng-cloak], .ng-cloak {   *   display: none;   * }   * </pre>   *   * When this css rule is loaded by the browser, all html elements (including their children) that   * are tagged with the `ng-cloak` directive are hidden. When Angular comes across this directive - * during the compilation of the template it deletes the `ng-cloak` element attribute, which + * during the compilation of the template it deletes the `ngCloak` element attribute, which   * makes the compiled element visible.   *   * For the best result, `angular.js` script must be loaded in the head section of the html file; @@ -32,7 +32,7 @@   *   * Legacy browsers, like IE7, do not provide attribute selector support (added in CSS 2.1) so they   * cannot match the `[ng\:cloak]` selector. To work around this limitation, you must add the css - * class `ng-cloak` in addition to `ng-cloak` directive as shown in the example below. + * class `ngCloak` in addition to `ngCloak` directive as shown in the example below.   *   * @element ANY   * | 
