hide example for angular.filter

This commit is contained in:
Igor Minar 2010-11-03 10:02:20 -07:00
parent a8efd43d25
commit dfa8baf59a

View file

@ -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 = "";