diff options
Diffstat (limited to 'src/Angular.js')
| -rw-r--r-- | src/Angular.js | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/src/Angular.js b/src/Angular.js index 004ab48f..8997045b 100644 --- a/src/Angular.js +++ b/src/Angular.js @@ -142,11 +142,15 @@ var _undefined = undefined, * * `$element` — The DOM element containing the binding. This allows the filter to manipulate * the DOM in addition to transforming the input. * - * The following example filter reverses a text string. In addition, it conditionally makes the - * text upper-case (to demonstrate optional arguments) and assigns color (to demonstrate DOM - * modification). * * @example + * //TODO this example current doesn't show up anywhere because the overview template doesn't + * // render it. + * + * The following example filter reverses a text string. In addition, it conditionally makes the + * text upper-case (to demonstrate optional arguments) and assigns color (to demonstrate DOM + * modification). + <script type="text/javascript"> angular.filter.reverse = function(input, uppercase, color) { var out = ""; |
