angular-docs-cn/modules/angular2/examples
Tim Ruffles bdfed9d850 docs(core): make naming concrete
I think people new to promises, angular etc will find this example easier to understand with concrete identifiers from a simple use-case. The existing naming could be confused with promise/angular functionality (`promise` in the template, `resolved` etc).

Also I made `resolve` private, as then it's clear what we're exposing for the template.
2015-12-02 11:41:52 -08:00
..
animate/ts docs(examples): add empty examples directory for api docs examples 2015-09-23 21:30:17 +00:00
core docs(core): make naming concrete 2015-12-02 11:41:52 -08:00
http/ts docs(examples): add empty examples directory for api docs examples 2015-09-23 21:30:17 +00:00
router/ts refactor(lifecycle): prefix lifecycle methods with "ng" 2015-11-30 16:40:50 -08:00
web_workers/ts docs(examples): add empty examples directory for api docs examples 2015-09-23 21:30:17 +00:00
README.md chore(examples): explain the purpose of these examples 2015-10-30 14:27:47 -07:00

README.md

API Examples

This folder contains small example apps that get in-lined into our API docs. These examples are written with idiomatic TypeScript, and are not transpiled to Dart. Each example contains tests for application behavior (as opposed to testing Angular's behavior) just like an Angular application developer would write.