820 Commits

Author SHA1 Message Date
Kapunahele Wong
4f87145170 docs(dyn-comp-loader): add explanations for methods, add doc structure, plunker (#3451) 2017-04-01 11:31:05 -07:00
Ward Bell
cd0c36340e docs(toh-2): move app.component.1.html (#3488) 2017-04-01 11:06:30 -07:00
Ward Bell
ebd8b48da6 docs(di-cookbook): InjectionToken->OpaqueToken; clarify class-interface 2017-04-01 02:11:47 -07:00
Ward Bell
5738c4b66a docs(universal): add guide (#3378)
* docs(universal): add guide

* gulpfile: Replace 'rm -rf' with 'node rimraf' so install-example-angular will work on Windows

* Get universal working

* doc wip

* gulpfile: Add platform-server to install-example-angular

* Update toh code in universal sample - remove moduleId

* Update typescript to 2.2.1 when we install-example-angular --build

* move example files; add graphs

* demo and docs wip

* doc wip

* Fix toc

* add toc, link
2017-03-31 17:20:59 +01:00
Filipe Silva
0153bcf435 build: update rollup (#3478)
This PR also pins `rollup-plugin-node-resolve`, which was causing CI to fail.
2017-03-31 16:39:12 +01:00
Ward Bell
86628ebabf chore: replace refs to "logos/angular2/" with angular (#3477) 2017-03-31 11:59:16 +02:00
Pete Bacon Darwin
7f4e992114 fix(tutorial/3): fix invalid doc region marker (#3437) 2017-03-27 17:07:09 +02:00
Filipe Silva
15036913bb docs: followup amends for 4.0 release (#3431) 2017-03-24 17:58:36 +00:00
Filipe Silva
338e9e9438 docs: update to Angular 4.0 (#3415) 2017-03-23 19:50:10 -07:00
Jesús Rodríguez
38f823e357 chore: better package.json for zipper (#3344) 2017-03-24 00:12:19 +01:00
Brad Christie
d65f1943e3 create() should return Hero model. (#3414) 2017-03-23 16:04:42 -07:00
Jesús Rodríguez
a083fdbe8b chore: replace URL dependence in moduleId loader (#3418)
IE, Edge, and some other browsers don't support `URL`. Replace it with standard DOM techniques.
2017-03-23 15:59:54 -07:00
Kapunahele Wong
a705a0ca3c docs(toh): copy edit and fixes in 4, 5, 6 and example (#3412) 2017-03-23 15:47:55 -07:00
Ward Bell
0fc40284dd [WIP] docs(toh): copyedits to conform to Google doc standards (#3032) (#3077) 2017-03-21 11:08:09 -07:00
Jesús Rodríguez
ea638482e5 docs(webpack): remove ts-snippets (#3398) 2017-03-20 21:37:49 -07:00
Patrice Chalin
de651113a6 example(template-syntax): drop unused top-level css (#3397)
Most styles were moved to the `app.component.css` a while a go (and the
remaining ones were unused).
2017-03-21 00:02:00 +01:00
Jesús Rodríguez
7906d4fadf chore: fix moduleId loader on plunkers (#3393) 2017-03-20 18:40:03 +01:00
Patrice Chalin
557200be4f e2e(router): fix test for canceling of crisis detail change (#3379)
- Await for alert dialog and use it in test for canceling crisis detail change.
- Tests now use async/await. It makes them easier to read.
- Remove "money patch" alerter comment.
2017-03-16 16:34:28 +00:00
Patrice Chalin
2fbca288c2 docs(server-comm): copyedits (#3373)
- Minor prose copyedits.
- Renamed `HeroService.addHero()` to `create()`, so as to match the ToH
sample.
2017-03-14 10:48:21 -07:00
Jesús Rodríguez
e6741efd8f chore: remove moduleId from examples (#3362)
* chore: remove moduleId from examples

* add support for testing and plunkers

* delete component-relative cookbook

* latest touches

* ward teaks and travis fixes

* fix typo in style-guide
2017-03-14 12:30:37 +01:00
Patrice Chalin
7d17e342bb docs(structural-directives): copyedits and some tweaks to code (#3345)
* docs(structural-directives): copyedits and some tweaks to code
- Fix variable name `li` --> `i`
- a --> an `UnlessDirective`
- Jade had both #ngswitch and #ngSwitch as link targets;
fixed to use same capitalization as template syntax page.
- Fixed broke fragment target (was missing #)
- Other copy edits and post-review comments from @wardbell
* de-sugar --> desugar
* fix h2 text capitalization
2017-03-09 17:30:23 -08:00
Kapunahele Wong
dfd360dc12 docs(routing-nav): copy edits (#3336) 2017-03-09 12:54:42 -08:00
Kapunahele Wong
4dbd920d46 docs(http-client): edit copy and true TOC to doc shape (#3360) 2017-03-09 12:54:14 -08:00
Patrice Chalin
a8ad96eb16 docs(template-syntax): code fixes and copyedits (#3365)
- onSave "no propagation" case _was_ propagating. Fixed.
- `firstName` --> `name` (a few were missed during a previous edit).
- Hercules had a _rate_ of 325, not an id; fixed so it matches figure.
- Missing closing `</div>` in form HTML
- Prose: fix json representation of Hercules (since Hero class has changed).
- Added missing AppComponent properties used in template but not declared in class; which will likely result in errors when compiled with AOT.
- Some "back to top" were not formatted properly after a figure.
- Copyedits, e.g., Angular modules such the --> such as the
- Removed Jade blocks no longer used by Dart.
2017-03-09 12:13:17 -08:00
Patrice Chalin
a6478bcc9d docs(attribute-directives): minor updates incl. e2e fix (#3330)
- Prose: copyedits, including fix to misnamed directive class
(`MyHighlightDirective` --> `HighlightDirective`).
- E2E update to avoid warning of multiple matching elements.
- Code: remove obsolete template region.
- Remove obsolete Jade blocks (no longer required by Dart).
- Replace old Jade syntax with plain markdown.
- Remove a few unnecessary `:marked`.
2017-03-07 10:23:18 -08:00
Patrice Chalin
ffdf5caed3 docs(hier-dep-inj): fix comp name, spelling in field name, copyedits (#3335)
* docs(hier-dep-inj): fix in comp name, spelling in field name, copyedits
- `villaines` --> `villains`
- `TaxReturnComponent` --> `HeroTaxReturnComponent`
- Moved `@Input()` to be on setter rather than getter.
- Other misc copyedits
2017-03-07 10:09:07 -08:00
Shai Reznik
b874d4874f Need a reference point for the address import (#3258)
this is part of the fix for #3257
2017-03-01 12:30:44 -08:00
Pete Bacon Darwin
d586c7cd6a fix(toh-6): add missing tsconfig file (#3289) 2017-03-01 12:26:56 -08:00
Michael Foss
5afcc05084 Update search result styling (#3322)
Change the height of the search results so that the height of each
places the text inside directly in the middle.

Apply a styling similar to the dashboard's heroes when hovering
over a search result.
2017-03-01 12:26:03 -08:00
Jesús Rodríguez
cad3545cd0 chore: add missing tasks to package.json (#3325) 2017-03-01 13:02:48 +01:00
Jesús Rodríguez
e8a062bdd2 build: zipper revival (#3319) 2017-02-28 23:31:24 +01:00
Jesús Rodríguez
2dd6ad1150 docs(i18n): fix plunker (#3309) 2017-02-28 12:35:02 -08:00
Filipe Silva
fdc11391dd docs: update CLI quickstart to rc.0 (#3295)
All shown boilerplate is copy paste of a new CLI generated project using the rc.0 blueprints.

Formatting might be a bit different from the norm in the angular.io repo but it should be left as is, since the shown files should match a generated project.
2017-02-25 16:15:01 +00:00
Jesús Rodríguez
2c7a7d4fbc docs(webpack): one step closer to CLI (#3283)
* docs(webpack): one step closer to CLI

* add html reporter
2017-02-23 13:26:27 +01:00
Pete Bacon Darwin
e5b97e3a92 docs: fix up irregular doc-region tags (#3285) 2017-02-21 13:28:34 +00:00
Kapunahele Wong
dfd072f40e docs(attribute-directives): copy tweaks (#3284) 2017-02-20 18:05:10 -08:00
Ward Bell
acfd22c96b docs(testing): fix hero-detail impl and use done for observable tests (#3270) 2017-02-17 18:19:44 -08:00
Kapunahele Wong
bdac5ca6b0 docs(reactive-forms): improve example styles and explain template syn… (#3263)
improve example styles and explain template syntax change;
fix one missed el in the example
2017-02-17 10:46:42 -08:00
Jesús Rodríguez
feb3473981 docs(dependency-injection): fix html space (#3231) 2017-02-13 15:33:22 -08:00
Jesús Rodríguez
044a0c6e5f chore: add systemjs.config.js back to plunkers (#3219)
* chore: add systemjs.config.js back to plunkers

* remove the non needed options from plnkr.json as well
2017-02-13 15:32:38 -08:00
Filipe Silva
7decccfe1b docs(upgrade): update NgUpgrade with AoT, router, unit tests (#2803)
Followup from #2781
2017-02-13 16:45:37 +00:00
Jesús Rodríguez
b3f8add5bb chore: lock jasmine types (#3236) 2017-02-11 12:35:11 +01:00
Ward Bell
f24b830c8a docs(template-syntax/structural-directives): refresh both guides for style, accuracy, understanding (#3110)
Move details of structural directives from template-syntax to structural-directives guide
Add <ng-container> to structural-directives
Fix samples in both guides
Touch up glossary
Better conformance to google doc guidelines: we->you
closes #2303, #2885
2017-02-06 19:06:13 -08:00
Jesús Rodríguez
5fd1d21680 docs(reactive-forms): fix plunkers (#3203) 2017-02-06 18:56:45 -08:00
Nuri Hodges
968fe62e6c docs(toh-6): fix tsconfig-aot.json indentation. (#3192) 2017-02-06 18:51:43 -08:00
Ward Bell
b2f4148472 chore(quickstart): restore app.module and main (#3166)
We seemed to create more confusion by omitting app.module (and main) in QS than we gained in simplicity of QS
Every other example requires these files.
This PR restores them to QS _but doesn't talk about them_ in QS, leaving _that_ to the Setup guide.
2017-02-06 18:35:49 -08:00
Indri Muska
6732babf23 docs(webpack): missing commas in snippet code (#3196) 2017-02-05 16:43:11 +01:00
Jesús Rodríguez
502767fb2b chore: lock to Angular 2.4.5 (#3188) 2017-02-04 18:12:47 -08:00
Filipe Silva
1101f07ef2 refactor: add src folder (#3171)
* boilerplate, gulpfile, quickstart

* move ts files up to cookbooks

* move rest of ts files

* fix tsconfig, default build task, json file

* fix js examples

* fix webpack example

* remove a2docs.css references

* fix aot examples

* fix webpack run task

* fix cb-i18n

* fix upgrade examples

* fix unit tests

* fix comment in deployment index

* removed unused typings.json

* fix plunkers

* fix js example paths

* fix ts quickstart/setup prose

* add src folder note to setup

* broadly replace app/ -> src/app/

* broadly replace main.ts

* broadly replaced index.html

* broadly replace tsconfig

* replace systemjs

* fix filetrees

* Minor prose fixes to aot, i18n cookbooks

* remove char harp was complaining about

* update new reactive forms example

* fix quickstart jade error

* fix mistakes uncovered by CI

* fix bad filename errors

* edit style guide 04-06 rule to use src

* add changelog

* Incorporate Jesus's feedback

* fix snippet headers in toh1/2

* chore: tweak changelog and setup text
2017-02-02 19:38:17 +01:00
Charles Park
46363d18d6 docs: fix typos (#3155) 2017-02-01 22:58:04 +01:00