aboutsummaryrefslogtreecommitdiffstats
path: root/src/ng/directive/ngPluralize.js
diff options
context:
space:
mode:
authorIgor Minar2012-04-06 16:35:17 -0700
committerIgor Minar2012-04-09 09:52:27 -0700
commit82d90a409692e97a79c3bf4708ee80796c7de2d6 (patch)
treeb682f2d3042381e2456383f9c9333d30105febf8 /src/ng/directive/ngPluralize.js
parent7468bcb80b997e323bb0808d19ee215cc5f7ae84 (diff)
downloadangular.js-82d90a409692e97a79c3bf4708ee80796c7de2d6.tar.bz2
fix(docs): change all directive references to use the normalized names
Diffstat (limited to 'src/ng/directive/ngPluralize.js')
-rw-r--r--src/ng/directive/ngPluralize.js16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/ng/directive/ngPluralize.js b/src/ng/directive/ngPluralize.js
index a8cc40a6..ec5b24f4 100644
--- a/src/ng/directive/ngPluralize.js
+++ b/src/ng/directive/ngPluralize.js
@@ -2,15 +2,15 @@
/**
* @ngdoc directive
- * @name angular.module.ng.$compileProvider.directive.ng-pluralize
+ * @name angular.module.ng.$compileProvider.directive.ngPluralize
* @restrict EA
*
* @description
* # Overview
- * ng-pluralize is a directive that displays messages according to en-US localization rules.
+ * `ngPluralize` is a directive that displays messages according to en-US localization rules.
* These rules are bundled with angular.js and the rules can be overridden
- * (see {@link guide/dev_guide.i18n Angular i18n} dev guide). You configure ng-pluralize by
- * specifying the mappings between
+ * (see {@link guide/dev_guide.i18n Angular i18n} dev guide). You configure ngPluralize directive
+ * by specifying the mappings between
* {@link http://unicode.org/repos/cldr-tmp/trunk/diff/supplemental/language_plural_rules.html
* plural categories} and the strings to be displayed.
*
@@ -24,8 +24,8 @@
* explicit number rule for "3" matches the number 3. You will see the use of plural categories
* and explicit number rules throughout later parts of this documentation.
*
- * # Configuring ng-pluralize
- * You configure ng-pluralize by providing 2 attributes: `count` and `when`.
+ * # Configuring ngPluralize
+ * You configure ngPluralize by providing 2 attributes: `count` and `when`.
* You can also provide an optional attribute, `offset`.
*
* The value of the `count` attribute can be either a string or an {@link guide/dev_guide.expressions
@@ -35,7 +35,7 @@
* string to be displayed. The value of the attribute should be a JSON object so that Angular
* can interpret it correctly.
*
- * The following example shows how to configure ng-pluralize:
+ * The following example shows how to configure ngPluralize:
*
* <pre>
* <ng-pluralize count="personCount"
@@ -56,7 +56,7 @@
* <span ng-non-bindable>`{{personCount}}`</span>. The closed braces `{}` is a placeholder
* for <span ng-non-bindable>{{numberExpression}}</span>.
*
- * # Configuring ng-pluralize with offset
+ * # Configuring ngPluralize with offset
* The `offset` attribute allows further customization of pluralized text, which can result in
* a better user experience. For example, instead of the message "4 people are viewing this document",
* you might display "John, Kate and 2 others are viewing this document".