2010-11-10 18:09:48 +00:00
|
|
|
<h1>{{name}}</h1>
|
2010-11-16 06:51:16 +00:00
|
|
|
|
2010-11-19 00:28:42 +00:00
|
|
|
{{#workInProgress}}
|
|
|
|
|
<fieldset class="workInProgress">
|
|
|
|
|
<legend>Work In Progress</legend>
|
|
|
|
|
This page is currently being revised. It might be incomplete or contain inaccuracies.
|
|
|
|
|
{{{workInProgress.description}}}
|
|
|
|
|
</fieldset>
|
|
|
|
|
{{/workInProgress}}
|
|
|
|
|
|
2010-11-16 06:51:16 +00:00
|
|
|
{{#deprecated}}
|
|
|
|
|
<fieldset class="deprecated">
|
|
|
|
|
<legend>Deprecated API</legend>
|
|
|
|
|
{{deprecated}}
|
|
|
|
|
</fieldset>
|
|
|
|
|
{{/deprecated}}
|
|
|
|
|
|
2010-11-09 04:34:18 +00:00
|
|
|
<h2>Description</h2>
|
|
|
|
|
{{{description}}}
|
|
|
|
|
|
|
|
|
|
<h2>Usage</h2>
|
|
|
|
|
<h3>In HTML Template Binding</h3>
|
|
|
|
|
<tt>
|
|
|
|
|
<input type="text" ng:format="{{shortName}}">
|
|
|
|
|
</tt>
|
|
|
|
|
<h3>In JavaScript</h3>
|
|
|
|
|
<tt ng:non-bindable>
|
|
|
|
|
var userInputString = angular.formatter.{{shortName}}.format(modelValue);<br/>
|
|
|
|
|
var modelValue = angular.formatter.{{shortName}}.parse(userInputString);
|
|
|
|
|
</tt>
|
|
|
|
|
|
2010-11-17 21:24:45 +00:00
|
|
|
{{#returns}}
|
2010-11-09 04:34:18 +00:00
|
|
|
<h3>Returns</h3>
|
2010-11-17 21:24:45 +00:00
|
|
|
<tt>{{{{type}}}}</tt> {{{description}}}
|
|
|
|
|
{{/returns}}
|
2010-11-09 04:34:18 +00:00
|
|
|
|
2010-11-17 21:24:45 +00:00
|
|
|
{{#css}}
|
2010-11-09 04:34:18 +00:00
|
|
|
<h3>CSS</h3>
|
|
|
|
|
{{{css}}}
|
2010-11-17 21:24:45 +00:00
|
|
|
{{/css}}
|
2010-11-09 04:34:18 +00:00
|
|
|
|
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}}
|