File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 88 * @description
99 * # Overview
1010 * `ngPluralize` is a directive that displays messages according to en-US localization rules.
11- * These rules are bundled with angular.js and the rules can be overridden
11+ * These rules are bundled with angular.js, but can be overridden
1212 * (see {@link guide/i18n Angular i18n} dev guide). You configure ngPluralize directive
1313 * by specifying the mappings between
1414 * {@link http://unicode.org/repos/cldr-tmp/trunk/diff/supplemental/language_plural_rules.html
2121 *
2222 * While a pural category may match many numbers (for example, in en-US locale, "other" can match
2323 * any number that is not 1), an explicit number rule can only match one number. For example, the
24- * explicit number rule for "3" matches the number 3. You will see the use of plural categories
25- * and explicit number rules throughout later parts of this documentation.
24+ * explicit number rule for "3" matches the number 3. There are examples of plural categories
25+ * and explicit number rules throughout the rest of this documentation.
2626 *
2727 * # Configuring ngPluralize
2828 * You configure ngPluralize by providing 2 attributes: `count` and `when`.
3232 * Angular expression}; these are evaluated on the current scope for its bound value.
3333 *
3434 * The `when` attribute specifies the mappings between plural categories and the actual
35- * string to be displayed. The value of the attribute should be a JSON object so that Angular
36- * can interpret it correctly.
35+ * string to be displayed. The value of the attribute should be a JSON object.
3736 *
3837 * The following example shows how to configure ngPluralize:
3938 *
You can’t perform that action at this time.
0 commit comments