diff options
| author | Vojta Jina | 2010-11-15 01:10:16 +0000 |
|---|---|---|
| committer | Misko Hevery | 2010-11-15 21:55:37 -0800 |
| commit | cc749760fd59418433de5a055d1ca401f7500444 (patch) | |
| tree | a6bc273b68b10515b9e00bc0b166c46d88748033 /docs/service.template | |
| parent | b467a50bc75b7f4c0d9bcee521387eda460337bf (diff) | |
| download | angular.js-cc749760fd59418433de5a055d1ca401f7500444.tar.bz2 | |
Added basic Services, which support @memberOf and @methodOf
Diffstat (limited to 'docs/service.template')
| -rw-r--r-- | docs/service.template | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/docs/service.template b/docs/service.template new file mode 100644 index 00000000..2774cad2 --- /dev/null +++ b/docs/service.template @@ -0,0 +1,37 @@ +<h1><tt>{{name}}</tt></h1> +<h2>Description</h2> +{{{description}}} + +<h2>Dependencies</h2> +<ul> + {{#requires}} + <li><tt>{{name}}</tt></li> + {{/requires}} +</ul> + +<h2>Methods</h2> +<ul> + {{#method}} + <li><tt>{{shortName}}</tt>: {{{description}}}</li> + {{/method}} +</ul> + +<h2>Properties</h2> +<ul> + {{#property}} + <li><tt>{{name}}:{{#type}}{{type}}{{/type}}</tt>{{#description}}: {{{description}}}{{/description}}</li> + {{/property}} +</ul> + +{{#example}} +<h2>Example</h2> +{{{exampleDescription}}} +<doc:example> + <doc:source> +{{/example}} + {{{example}}} +{{#example}} + </doc:source> + {{#scenario}}<doc:scenario>{{{scenario}}}</doc:scenario>{{/scenario}} +</doc:example> +{{/example}}
\ No newline at end of file |
