OLD | NEW |
(Empty) | |
| 1 /** |
| 2 * |
| 3 * Formatters for [angular.dart](#angular/angular), a web framework for Dart. A
formatter is a |
| 4 * pure function that performs a transformation on input data from an expression
. |
| 5 * |
| 6 * This library is included as part of [angular.dart](#angular/angular). It prov
ides all of |
| 7 * the core formatters available in Angular. You can extend Angular by writing y
our own formatters |
| 8 * and providing them as part of a custom library. |
| 9 * |
| 10 * Formatters are typically used within `{{ }}` to |
| 11 * convert data to human-readable form. They may also be used inside repeaters t
o transform arrays. |
| 12 * |
| 13 * For example: |
| 14 * |
| 15 * {{ _some_expression_ | json }} |
| 16 * |
| 17 * or, in a repeater: |
| 18 * |
| 19 * <div ng-repeat="item in items | filter:_predicate_"> |
| 20 * |
| 21 * |
| 22 */ |
| 23 library angular.formatter; |
| 24 |
| 25 export "package:angular/formatter/module_internal.dart" show |
| 26 Currency, |
| 27 Date, |
| 28 Filter, |
| 29 Json, |
| 30 LimitTo, |
| 31 Lowercase, |
| 32 Arrayify, |
| 33 Number, |
| 34 OrderBy, |
| 35 Uppercase, |
| 36 Stringify; |
OLD | NEW |