2010-11-10 18:09:48 +00:00
|
|
|
<h1>{{name}}</h1>
|
2010-11-05 00:41:14 +00:00
|
|
|
<h2>Description</h2>
|
|
|
|
|
{{{description}}}
|
|
|
|
|
|
2010-10-27 22:31:10 +00:00
|
|
|
<h2>Usage</h2>
|
|
|
|
|
<h3>In HTML Template Binding</h3>
|
|
|
|
|
<tt>
|
|
|
|
|
<span>{{</span>
|
|
|
|
|
{{paramFirst.name}}_expression
|
|
|
|
|
| {{shortName}}{{#paramRest}}{{^default}}:{{name}}{{/default}}{{#default}}<i>[:{{name}}={{default}}]</i>{{/default}}{{/paramRest}}
|
|
|
|
|
<span> }}</span>
|
|
|
|
|
</tt>
|
|
|
|
|
<h3>In JavaScript</h3>
|
|
|
|
|
<tt ng:non-bindable>
|
|
|
|
|
angular.filter.{{shortName}}({{paramFirst.name}}{{#paramRest}}, {{name}}{{/paramRest}} );
|
|
|
|
|
</tt>
|
|
|
|
|
|
|
|
|
|
<h3>Parameters</h3>
|
|
|
|
|
<ul>
|
|
|
|
|
{{#param}}
|
2010-11-04 21:24:31 +00:00
|
|
|
<li><tt>{{name}}:{{#type}}{{type}}{{/type}}{{^type}}:*{{/type}}{{#default}}={{default}}{{/default}}</tt>: {{{description}}}</li>
|
2010-10-27 22:31:10 +00:00
|
|
|
{{/param}}
|
|
|
|
|
</ul>
|
|
|
|
|
|
|
|
|
|
<h3>Returns</h3>
|
|
|
|
|
{{{returns}}}
|
|
|
|
|
|
|
|
|
|
<h3>CSS</h3>
|
|
|
|
|
{{{css}}}
|
|
|
|
|
|
2010-11-06 04:12:37 +00:00
|
|
|
{{#example}}
|
|
|
|
|
<h2>Example</h2>
|
|
|
|
|
{{{exampleDescription}}}
|
|
|
|
|
<doc:example>
|
|
|
|
|
<doc:source>
|
|
|
|
|
{{/example}}
|
|
|
|
|
{{{example}}}
|
|
|
|
|
{{#example}}
|
|
|
|
|
</doc:source>
|
|
|
|
|
<doc:scenario>{{{scenario}}}</doc:scenario>
|
|
|
|
|
</doc:example>
|
|
|
|
|
{{/example}}
|