Commit Graph

361 Commits

Author SHA1 Message Date
Ward Bell f2051d9cf6 docs(http): discuss headers for POST 2016-02-01 19:52:14 -08:00
Ward Bell 2976789794 docs(http): TOC at top of chapter
closes #796
2016-02-01 17:44:09 -08:00
NicholasMurray 7e3f90f749 Changed refernce to main.js to boot.js 2016-02-01 17:05:48 -08:00
Ward Bell b2b025aab7 docs(server): add `do` to peek at results in console 2016-02-01 16:57:31 -08:00
Ward Bell b0ebc3897c docs(devguide/forms): add "new hero" with form reset workaround and msg hiding
closes #792
2016-02-01 14:13:51 -08:00
Ward Bell 593167eb79 docs(template-syntax): typos found by Deb K 2016-01-30 13:28:18 -08:00
Ward Bell 9e75006b2d chore(devguide): remove or guard unpublished files
closes #779
2016-01-29 13:48:51 -08:00
Christoph Burgdorf 8a5bcb4da7 docs(server-communication): discuss promises; refine prose
closes #767
2016-01-29 00:05:57 -08:00
Ward Bell e258e0f346 docs(template-syntax): minor tweaks to improve text
closes #775
2016-01-28 19:09:09 -08:00
Kathy Walrath dd0d822cbc docs(guide/template-syntax): copy edit TypeScript version
Also update some samples. This PR replaces #734 & #756.
2016-01-28 18:31:01 -08:00
Ward Bell 79d3d9f0ad docs(samples): convert boot.ts -> main.ts
plus router text fix and missed beta.2 update to QS.js
closes #773
2016-01-28 17:32:38 -08:00
Michel Zimmer ba972b67ad docs(ts/guide/router): fix typo: crisis-center-component.ts -> crisis-center.component
closes #759
2016-01-27 15:09:34 -08:00
Jason Zhekov 59dd4b0c2c docs(testing): fix typos, exclude node_modules from tsconfig (#763)
closes #723
2016-01-27 15:00:09 -08:00
Ward Bell 6e11cf6a1e docs(attribute directives/TS/Dart): remove `Renderer`; improve text
closes #757
2016-01-27 14:49:16 -08:00
Ward Bell ab6d362650 docs(dependency injection): minor tweaks
closes #755
2016-01-26 02:54:53 -08:00
Pascal Precht 76a8d022a7 docs(dependency-injection): added DI examples; update/expand text
closes #748
2016-01-25 23:34:40 -08:00
Christoph Burgdorf 77db0755c8 docs(guide/server-communication): adds http chapter
closes #662
2016-01-25 23:28:36 -08:00
Riley Dawson f18d2a1b07 docs(displaying-data): fix typo
closes #752

On line 158, the referenced command should be `npm start`, rather than
`npm go` to be consistant with the quickstart guide.
2016-01-25 23:17:45 -08:00
Ward Bell f54ae8b306 docs(user input): grammar - 'an statement'->'a statement'
closes #750
2016-01-25 03:41:16 -08:00
Filipe Silva 5baa79b179 docs(router): fix broken "link params array" link
closes #746
Fix #745
2016-01-25 03:24:51 -08:00
Filipe Silva 61cefb9637 docs(routing): fix broken example link at the end
closes #743

Fix #742
2016-01-25 03:22:22 -08:00
Ward Bell 034a5a6943 docs(template-syntax): Clarify input/output aliasing syntax
closes #722
2016-01-19 00:01:31 -08:00
Frank van Wijk fe5c605090 docs(tutorial): typo: succint -> succinct.
closes #711
2016-01-18 01:10:34 -08:00
Drew Winstel 677abb78b0 docs(guide/pipes): fix typo in pipe example
closes #707
`exponenential` should be `exponential`.
2016-01-18 01:03:25 -08:00
Drew Winstel 83a944b995 docs(guide/template-syntax): fix typo painfull -> painfully
closes #706
2016-01-18 01:00:56 -08:00
Ward Bell 8183ad6f54 docs(intro): heavily revised based on Jeremy W feedback
Closes 717. See also #703
2016-01-18 00:40:07 -08:00
Nathan 58ceaffca3 Fix misspelling
closes #705

ugprade -> upgrade
2016-01-17 22:56:59 -08:00
Ward Bell 2b2ec380b7 docs(tutorial): update description of app behavior
closes #716. See also #685
2016-01-17 22:51:49 -08:00
Ward Bell a01e0cc6e2 docs(quickstart): JS IE Polyfill; change ES6->ES2015
closes #715, incorporates #684
2016-01-17 22:33:14 -08:00
Ward Bell b24c813916 docs(user-input): replace "expression" w/ "statement" in TS doc
closes #714
2016-01-17 21:26:50 -08:00
Kathy Walrath 693c5e60e6 docs(user-input): copyedit TS user-input
closes #665
2016-01-17 21:11:50 -08:00
Ward Bell 7ed0fce10d docs: add IE polyfills to all samples; update QS and Router to explain
closes #712
2016-01-17 20:32:59 -08:00
Ward Bell c7f58ee459 docs(router): incorporate Brian's comments; other fixes
closes #712
2016-01-17 20:32:15 -08:00
Peter Bacon Darwin 615a8d4147 docs(guide/hierarchical-injectors): fix typo 2016-01-14 10:47:43 +00:00
Peter Bacon Darwin 8501cbcfed docs(guide/lifecycle_hooks): fix typo 2016-01-13 09:41:16 +00:00
Ward Bell 0f5294e32c docs(template-syntax): sample/devmode fix + text updates
closes #692
2016-01-13 00:54:03 -08:00
Teresa 0ddf63957c Moved feedback script to _scripts-include.jade 2016-01-08 17:51:43 -08:00
Teresa 014404239d Added help-new.jade 2016-01-08 17:49:00 -08:00
Kathy Walrath d5e213b378 docs(guide): copyedit displaying-data
Also fix a few intros while I'm in _data.json.

closes #659
2016-01-06 14:07:58 -08:00
Tomas Echeverri 6dd9fd9a34 docs(quickstart): typos in TS and JS
closes #656 and #657
Missing ')' in label of TS #656
JavaScript files do not compile just run #657
2016-01-06 01:10:39 -08:00
Emmanuel DEMEY c3c8c13748 Change Obsevable into Observable
closes #653
2016-01-05 17:41:56 -08:00
Rabah Ghodbane d0b325faaa docs(router): fix typos in routing and navigation chapter
closes #650
2016-01-05 17:39:52 -08:00
Rabah Ghodbane b10e3768d1 docs(template syntax): fix "elment" typo
closes #649
2016-01-05 17:36:52 -08:00
Steven Lacks 14900ea97c docs(tutorial): toh-4 (Services) typo
closes #647
missing period in 'hero-detailcomponent.ts'
2016-01-04 23:36:46 -08:00
TJ VanToll 5a7e748b43 docs(quickstart): include NativeScript as an alternative bootstrap option 2016-01-04 18:15:01 -08:00
Vladislav Zarakovsky 3137359c7d docs(guides): Fix typos "-change" -> "Change"
closes #605
2016-01-04 12:25:46 -08:00
Ward Bell 4ccb7b848c docs(router): add index.html to first listing
closes #642
draws earlier attention to loading router lib and base href
2016-01-04 10:08:29 -08:00
Ward Bell 2bcf442109 docs(router): lowercase 'component'
closes #641
2016-01-03 16:29:30 -08:00
Filipe Silva 5cc1907f57 docs(structural-directives): fix broken links
closes #640
2016-01-03 16:16:08 -08:00
Trotyl Yu 57b4ca29e0 docs(form): Fix typo of mismatch of quotes.
closes #639
2016-01-03 16:14:00 -08:00
Trotyl Yu 2df8aaf1d4 docs(form): Fix typo of quote.
closes #638
2016-01-03 16:12:26 -08:00
Emanuel Kluge 8a8ff4b194 docs: correct spelling of "async"
closes #636
2016-01-03 16:10:13 -08:00
joshuawilson a4c5ab5608 docs(Quickstart): fix several typos in the Quickstart guide
closes #630
2016-01-03 16:03:37 -08:00
Tero Parviainen 441a6bd698 docs(upgrade) extend upgrade guide with UpgradeAdapter and preparation coverage
closes #629

Also make minor improvements into the PhoneCat tutorial
2016-01-03 15:50:22 -08:00
Progger d64d3320b4 docs(dependency-injection): typo
closes #628
2016-01-03 15:48:07 -08:00
Elior Boukhobza ac8b87eb5e docs(template-syntax): typo
closes #627
2016-01-03 15:44:38 -08:00
Tomasz Adamski 240a0dc457 Removed duplicated 'the' from TypeScript quickstart
closes #624
2016-01-03 15:42:42 -08:00
Kion Stephen 7269d3481d docs(attribute-directives): small fixes.
closes #618
2016-01-03 15:39:17 -08:00
Ward Bell af458737be docs(router): add query params milestone
Additional fixes suggested by recent issues.
closes #637
2016-01-03 15:25:10 -08:00
Ward Bell 8e3e0834b5 docs(router): fixes recent issues
closes #619 & #626
2016-01-03 15:24:30 -08:00
Ilya Gelman 1d52d4b8c2 docs(template-syntax): fix typos in template-syntax.jade
closes #609
2015-12-28 12:08:55 -08:00
Jason Won 6973c9f1c8 docs: fix one typo in architecture doc
closes #606
2015-12-28 12:06:05 -08:00
Ward Bell 8d89118031 docs(pipes): add PipeTransform interface & comment
closes #616
2015-12-28 11:54:51 -08:00
John Papa f4c69b6ad0 docs(tutorial): update css and related fixes
closes #603
2015-12-23 09:36:16 -08:00
Ward Bell 5bec58577f docs(Tutorial): minor repairs to toh-4
close #602
John's comments
Fix for https://github.com/johnpapa/angular2-tour-of-heroes/issues/41
2015-12-23 09:05:59 -08:00
adamclerk c2e1b55f6c Fixing typo in pt4 of tutorial
closes #596
I think the author intended to reference `providers` and not `directives`.
He did indeed!
2015-12-21 10:08:54 -08:00
Naomi Black 42f3381ec2 chore(images): add new people image 2015-12-21 06:38:29 -08:00
Naomi Black cbde64d712 chore(graphics): updates to guide images people and airplane 2015-12-21 06:30:36 -08:00
Ward Bell e14f950a7c docs(router): improvements + arch typo fix
closes #592
2015-12-19 14:31:06 -08:00
John Papa 7e86e9411b docs(tutorial): add ToH part 4
closes #589
2015-12-19 14:27:59 -08:00
Deborah Kurata 632d0d8d93 docs(dependency injection): update imports for beta.0
closes #584
2015-12-19 14:25:39 -08:00
Ward Bell bf29846f3e docs(architecture): move diagram up; elab on svcs; add LC Hooks links 2015-12-18 10:42:29 -08:00
joshuawilson fe0f8086f4 docs(user-input): fix typo's and misworded sentence
closes #575
2015-12-17 02:17:37 -08:00
Ward Bell f4acc0ccbc docs(tutorial): Part 3 improvements + input explanation
Updated Attribute Directives chapter with appendix on input properties
closes #576
2015-12-17 02:12:58 -08:00
Dmitry Vasilyev 597e20a374 docs(quickstart): App component naming fix
closes #554
2015-12-16 18:48:54 -08:00
Denis Kolodin 9e00961423 docs(forms): Typo fix in forms page of TS guide
closes #555
2015-12-16 18:45:45 -08:00
John Oxley 912ed52f25 docs: Fixed minor typos in attribute-directives and user-input
closes #556

* user-input.jade
2015-12-16 18:42:48 -08:00
Tay Yang Shun 4c7287b3e6 docs(QuickStart): Fix typo in file structure 2015-12-16 18:36:10 -08:00
Josh Olson 003375da4d —, not $mdash;
closes #557
2015-12-16 18:32:09 -08:00
Ward Bell 1a98ef5844 docs(Lifecycle Hooks): new chapter
closes #574
2015-12-16 18:10:59 -08:00
Ward Bell 82383bc673 docs(tutorial): part 3 + revisions to intro, 1 & 2
closes #573
2015-12-16 18:08:38 -08:00
Naomi Black 19920924de chore(badlink): correct the drive link for resources best practices 2015-12-16 14:45:34 -08:00
Naomi Black 3c24f45ee6 chore(typo): fix a typo about [{}] reported in feedback 2015-12-16 14:10:27 -08:00
Naomi Black 3b8d9dd43a chore(fixes): fix cheatsheet routing and a typo
closes #561
2015-12-16 12:24:45 -08:00
Ward Bell 4fda2c7854 docs(*): `npm run go` -> `npm start` (TS only)
closes #559
Convert npm script command from npm run go to npm start ...
because that's the way it should have been for TypeScript files.
2015-12-16 08:18:44 -08:00
Ward Bell 199bf26b0f docs: glossary and arch fixes; misko influenced
closes #551
2015-12-15 21:23:17 -08:00
Naomi Black 3351f0758b chore(images): hide images that need update, add new ones 2015-12-15 19:44:59 -08:00
Naomi Black a2d71de557 chore(cleanup): remove generated files from the repository 2015-12-15 19:34:40 -08:00
Ward Bell 5de77b7225 docs(architecture/glossary): describe modules,barrels, and bundles; refer to doc
closes #547
2015-12-15 16:54:22 -08:00
Topher Fangio 052d5ec8fe docs(ts/displaying-data): Fix minor typos/npm command.
closes #540
Fix a few small typos/issues:

 - punctuation
 - capitalization
 - npm command: `npm both` to `npm go`
2015-12-15 16:01:34 -08:00
Topher Fangio aad9aaf8c7 docs(ts/architecture): Fix small typos/grammar.
closes #539

Fix various typos and grammatical/formatting errors:

 - pluralize words
 - add missing words
 - add punctuation
 - fix code blocks
 - etc.
2015-12-15 15:16:48 -08:00
Ward Bell fde1828a92 docs(quickstart): update display of final struct + text tweaks
closes #538
2015-12-15 15:07:35 -08:00
Victor Berchet 933433ceea fix(template syntax): minor fixes
closes #535
2015-12-15 15:05:36 -08:00
Naomi Black a4c06fc43c chore(beta): production ready-ify the text 2015-12-15 11:40:55 -08:00
Naomi Black e959f5e0d9 versioning(beta): update from dev preview to beta in text 2015-12-15 11:40:55 -08:00
Naomi Black ab90d68240 docs(router): fix filetree styles 2015-12-15 11:35:11 -08:00
Ward Bell 728659ba71 docs(router): new chapter 2015-12-15 11:35:11 -08:00
Ward Bell d474c9a6cd stumped by the router wildcard 2015-12-15 11:35:11 -08:00
Ward Bell 0c1d7ca3cb docs(router): new chapter
Ward and Jeremy
Todo: EXCLUDE Old router doc for reference while re-writing
2015-12-15 11:35:11 -08:00
Filipe Silva b05acd3b47 docs: update QuickStart and plunker generator to a.55; set QS to appear to use beta.0
closes #526
2015-12-15 11:20:59 -08:00
Tero Parviainen 6362fb5c7e fix(upgrade) fix one typo and one clumsy phrase 2015-12-15 10:28:31 -08:00
Peter Bacon Darwin 452e7e7729 chore(doc-gen): automatically update environment and version on the cheatsheet
Closes #515
2015-12-15 09:51:52 -08:00
Tero Parviainen b11cf9419f chore(upgrade): rename package.json, tsconfig.json, and karma.conf.js
Add *.1.* to filenames so that they are available for shredding.
2015-12-15 18:56:21 +02:00
Tero Parviainen ad4c521130 chore(upgrade) bring upgrade tutorial up to speed with alpha.54
- Use angular2-polyfills bundle
- Use separate upgrade bundle
- Use Rx bundle and remove superfluous SystemJS config for RxJS
- Switch to CSS file tree from ASCII
2015-12-15 14:36:37 +02:00
Robert Messerle f93bc28b62 adds non-ascii file tree view 2015-12-15 02:10:02 -08:00
Naomi Black 8f67e3fe54 cheatsheet(version): update version numbers, remove download until fixed 2015-12-15 01:23:32 -08:00
Naomi Black 2c7bcdd832 chore(images): remove images we haven't updated yet 2015-12-15 01:15:53 -08:00
Tero Parviainen 472c9d98c7 docs(upgrade) add PhoneCat upgrade tutorial 2015-12-15 00:45:44 -08:00
Robert Messerle 068771228a removes first demo
changes text from `how we roll` to `up next`
changes font size for code blocks from `15px` to `13px`
changes links from `edit on plunker` to `try in plunker`
re-orders tabs in code samples
2015-12-14 22:57:53 -08:00
Ward Bell 9784912546 docs(*): remove 2 package.json files from git, minor QS tweak.
closes #509
2015-12-14 20:24:16 -08:00
John Papa ab5390a51e docs(tutorial): combines all 4 sections + revisions/updates to a.53, hides 3&4
closes #488

ToH History (oldest-to-latest):
----------------------------
created code example/snippets files for use with +makeExample, replace usage of  "pre.prettyprint.lang-bash" with this:  code-example(format="." language="bash").
fixed spelling errors in examples file path used by +makeExample
changed usage of "code-example" to "+makeExample"
adding code example/snippets files used in toh 1
fixed example file paths, replaced "pre.prettyprint.lang-bash" with "code-example. "
(docs) toh-pt3 initial state
created code examples for display in jade, starting conversion of Google doc and trying +makeExample rendering
all text copied from doc to jade, still some styling and formatting to perform
completed conversion and styling, moved toh3 example files to "tutorial" folder under _examples
created specific code example files for chapter toh 3 and re-pathed references in +makeExample
minor edit
docs) toh combined - initial combined commit
updated ToH for a.52
tons of changes, including de-kebab-ing, removed src folder, updated tsconfig too
fixing snippets using incorrect ending input tag
using inline html and css for the app.component.
ToH Part 1 Code: updated the imports, removed obsolete directive delcarations
ToH Code Part 1: updated to use imports, interface. will hit others soon
toh part 1: ngModel fix
toh part1: removed obsolete story that referred to how we used to have to import and declare all directives we used. yay!
ToH Part 1: updated to use `boot.ts` and `app.component.ts`. this affected the partials, snippets, and the story.
toh part 1: using `npm run go`
toh parts 1 -4: modified all places to use `npm run go`
toh part 1: refactor for jade
toh part 1: fixing the code samples
toh part 2: seeping through the story
toh part 2: fixing snippets.
toh part 2: replaced ngClass with class.selected
toh part 2: removed whitespace
toh part 2: added final state to the code
toh: fixing paths
toh part 4: fixing src/app path to app
toh part 3: fixing folder path
toh part 2: fixed typo
toh part 2: typo on ngModel
toh part 2: added ngif
toh part 2: removed old hero property. moved the details lower, where we need it
toh index: updated hero list image to show consistent styling as the other images here
QS spelling error (targes -> targets)
tweeks: space and ngIF
2015-12-14 19:57:55 -08:00
Naomi Black da0e0becc1 chore(typo): tiny typo in quickstart 2015-12-14 17:46:04 -08:00
Ward Bell bc74ee4ac3 docs(QuickStart): incorporate misko's suggestions/corrections
closes #502
2015-12-14 15:55:12 -08:00
Filipe Silva 92f1690b73 docs(Structural Directives): new dev guide chapter
closes #499
2015-12-14 10:08:32 -08:00
Filipe Silva 92574937f3 docs(forms): add js guide
closes #500
2015-12-14 10:04:59 -08:00
Ward Bell 6dc9e5d10b docs(Template Syntax): correct minor oversights in a.53 update
closes #494
2015-12-13 22:31:33 -08:00
Ward Bell 7cf097ea68 docs(Template Syntax): update to a.53 (kebab work)
closes #493
2015-12-13 20:15:52 -08:00
Ward Bell 31051d29f0 docs(user input): sample shuffle, revisions. alpha.53
closes #492
2015-12-13 18:53:25 -08:00
Ward Bell dc1c054927 docs(*): npm run both -> npm run go
closes #489
2015-12-13 12:51:34 -08:00
Ward Bell b2b4d3b8c9 docs(pipes): sample shuffle, refactor, alpha.53
closes #487
2015-12-13 00:57:14 -08:00
Ward Bell 393987bdf5 docs: split intro into separate chapters, shuffle code, update to alph52
closes #483
A major refactoring of the intro chapters includes text revision
and the addition of "module" as an 8th "basic building block".
Incorporates John Papa feedback.
2015-12-12 09:46:07 -08:00
Ward Bell 6e3039f4ac docs(glossary): update to alpha.52
closes #481
2015-12-12 09:43:35 -08:00
Ward Bell b2cae850d8 docs(Hierarchical DI): code shuffle, text, & alpha52 updates
closes #480
2015-12-12 09:41:40 -08:00
Ward Bell 4084a725fd docs(forms): code shuffle, text, & alpha52 updates
closes #478
2015-12-12 09:39:01 -08:00
Ward Bell d33a381a6c docs(displaying-data): code shuffle & alpha52 update
closes #474
2015-12-12 09:31:25 -08:00
Ward Bell 47d12c896f docs(attribute-directives): code shuffle & alpha52 update
closes #473
2015-12-12 09:29:17 -08:00
Ward Bell dbc3982aae docs(QuickStart): rewritten for 52 and latest recommendations
closes #472
2015-12-12 09:27:13 -08:00
Peter Bacon Darwin 05a272a116 refact(docs-app): move filtered API list into a directive
Each API index page now displays data from an `api-list.json` file found
locally to that page. This lets us have different API lists for TS, JS
and Dart.
2015-12-10 21:35:02 -08:00
Naomi Black ee5da936da feature(feedback): add feedback API call to the site 2015-12-09 13:05:45 -08:00
Naomi Black fad02f7405 chore(feedback): fixing feedback script 2015-12-09 09:59:07 -08:00
Peter Bacon Darwin 8459a4dd5c chore(doc-gen): allow dart cheatsheet to be generated 2015-12-08 17:31:53 -08:00
Naomi Black 5d3aed2bff chore(quickstart): change learn in 5 mins text 2015-12-08 17:24:23 -08:00
Teresa 377f924ae2 Moved feedback script to _scripts-include.jade 2015-12-08 15:42:07 -08:00
Teresa 5be5985358 Added help-new.jade 2015-12-08 15:42:07 -08:00
Ward Bell c33ee37144 docs(template-syntax): drive jade from sample
closes #456
2015-12-08 10:08:06 -08:00
denismosolov b7897eef85 docs(developer-guides): incorrect QuickStart link in How to Read this Guide section
closes #446

quickstart -> quickstart.html prevent 404 page
2015-12-06 10:59:09 -08:00
denismosolov ad5fc1ffc1 docs(quickstart): typo in TypeScript configuration file name
closes #439

tsconfig.json instead of tsconfig.js
2015-12-03 12:49:33 -08:00
Ward Bell 4d1571254b docs(attribute-binding): bind to 2nd property, default-color 2015-12-03 12:44:26 -08:00
Deborah Kurata c9ea1e52c1 docs(attribute-directive): new chapter + dev-guide chapter shuffle
closes #437
2015-12-02 19:01:27 -08:00
Peter Bacon Darwin 7fb34523ae chore(docs-app): add `code` directive to prevent unwanted compilation 2015-12-01 09:44:33 -08:00
Ward Bell e00b024e95 docs(intro): update databinding image as Felipe suggests
closes #428
2015-12-01 01:44:34 -08:00
Jay Traband 46ac6bdaa9 Fix for makeExample styling without linenumbers losing scrollbar + default handling of makeExamples with only one line
closes #427
2015-12-01 00:24:21 -08:00
Ward Bell 83fab41666 (docs) fix plunker for Intro; minor Forms tweaks
closes #426
2015-11-30 21:24:19 -08:00
Jay Traband b06f2dcec6 (fix) plunker generation fixes
closes #424
plnkr - change plnkr.config -> plnkr.json and change output paths and names
update jade plunkers to new 'resources/live-examples' path + minor cleanup
update gulpfile to run build-plunkers as part of build-docs.
2015-11-30 21:00:02 -08:00
Ward Bell f7b2913231 (docs) devguide forms improved by looking at DART version
closes #425
2015-11-30 20:52:19 -08:00
Brady Potaczek 347c79c514 docs: dependency-injection.jade
Fix absolute path to relative path
closes #419
2015-11-30 16:11:56 -08:00
Ward Bell 0d46bce291 (chore) devguide template-syntax - fix broken links
closes #422
2015-11-30 15:58:36 -08:00
Ward Bell c8be003781 (docs) devguide intro - fix typos and infelicities
closes #420
2015-11-30 14:55:54 -08:00
Ward Bell e6e8cca9ef (docs) DevGuide Introduction
incorporates Pascal & Felipe suggestions
includes running sample code for the architecture overview
closes #417
2015-11-30 12:54:16 -08:00
Christoph Burgdorf 4dffc41f3e docs(hierarchical-injectors): use real example code
closes #406

With this change the chapter doesn't use inline
code anymore but instead uses proper runnable
example code.
2015-11-25 20:04:00 -08:00