diff options
| author | Igor Minar | 2010-11-03 10:02:20 -0700 | 
|---|---|---|
| committer | Igor Minar | 2010-11-03 10:02:20 -0700 | 
| commit | dfa8baf59a1dafe6cc4c4e46da123cb85e85e0a4 (patch) | |
| tree | ddcf41bcca24ac409c0fde466471e3cdfeb1e6f5 /src | |
| parent | a8efd43d256e67b954a38eb20438714815442f29 (diff) | |
| download | angular.js-dfa8baf59a1dafe6cc4c4e46da123cb85e85e0a4.tar.bz2 | |
hide example for angular.filter
Diffstat (limited to 'src')
| -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 = "";  | 
