Patrice Chalin
64bce18ea7
e2e(dependency-injection): fix for Dart and simplification for TS
...
Fixes #2493
No need to dual boot `AppComponent` and `ProvidersComponent` only to
ensure that we could demo optional injection; instead just inject null
for the `@Optional` constructor parameter type.
No prose is affected by these changes.
2016-11-15 22:58:56 +00:00
Patrice Chalin
bacc4bcbac
docs(guide/{di,ts,toh-[23]}): follow-up to #1654 ( #1767 )
...
Mainly Dart-side review, following #1654 .
dependency-injection:
- Renamed components in providers_component.dart
- E2e suites passed:
- public/docs/_examples/dependency-injection/dart
- public/docs/_examples/dependency-injection/ts
template-syntax:
- Removed unused global variable.
- Suites passed:
public/docs/_examples/template-syntax/dart
public/docs/_examples/template-syntax/ts
toh-2 & 3:
- Clean-up.
2016-06-28 08:16:59 -07:00
Patrice Chalin
3c77a7fcd1
docs(basics/di): minor edits following TS switch to provider object literal ( #1600 )
...
Minor edits:
- Dart side adjustments following #1594 .
- Renamed example '3a' to just '3' and tweaked the logger message
- Removed obsolete Dart block.
2016-06-08 09:25:48 -07:00
Foxandxss
c185c3548c
chore: use the provide object literal
...
closes #1594
replace `provide(...{use:...})` with `{provide: ..., use...}` syntax
2016-06-04 01:33:36 -07:00
Patrice Chalin
05864c2584
docs(dependency-injection): revised Dart and TS code and prose ( #1573 )
...
docs(dependency-injection): revise Dart and TS code and prose
2016-06-03 11:16:46 -07:00
Kathy Walrath
10877bdbfc
docs(dependency-injection): add Dart version, tweak TS version
...
closes #972
2016-03-25 15:21:11 -07:00
luis
1ac9316171
docs(dependency-injection): add Dart sample
...
closes #817
2016-02-16 13:58:29 -08:00