45 Commits

Author SHA1 Message Date
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
Jesús Rodríguez
8811094954 docs(testing): fix plunkers shim (#3176) 2017-01-31 12:52:43 -08:00
Jesús Rodríguez
1b78cc4f35 chore: add base href to all examples (#3157) 2017-01-28 00:38:34 +01:00
Ward Bell
aa6f503331 docs: remove rxjs-extensions in favor of explict imports (#3075)
Triggered by #2620 which it closes.
2017-01-05 01:12:06 -08:00
Filipe Silva
4ec1736f18 chore: convert relative templateUrl/styleUrls to have ./ 2017-01-04 19:02:19 +00:00
Filipe Silva
0f3d5810a8 chore(deps): remove reflect-metadata (#3058)
Blocked on https://github.com/angular/in-memory-web-api/pull/86

As per https://github.com/zloirock/core-js/issues/152, `core-js` already includes `reflect-metadata`.
2017-01-02 21:15:24 +00:00
William KOZA
7c9ff12a76 docs(server-communication) Don't use constructor, but rather ngOnInit (#3046) 2017-01-01 00:06:16 -08:00
Ward Bell
437617d564 chore(http): added @Injectable to default-request-options. (#2983) 2016-12-14 20:58:55 -08:00
Ward Bell
7af64a4f35 docs(http): use a class for default RequestOptions override (#2982)
John Papa pointed out that this makes user testing easier if you care about headers in those tests.
2016-12-14 20:35:29 -08:00
Ward Bell
9a3cbd611f docs(http): show how to override default RequestOptions like headers (#2978) 2016-12-14 13:30:25 -08:00
Ward Bell
8fafa8a01e docs(plunkers): prepare plunkers for the quickstart reboot (#2759)
* plunker builder removes files and scripts not needed in plunkers (e.g., systemjs.config.js)
* no longer adds placeholder README.md (deemed a distraction)
* tag is now "Angular" instead of "Angular2"
* new plnkr.json "includeSystemConfig" option adds systemjs.config.js back; needed for testing plnkrs.
* incidentally changes comment "Polyfill(s)" to "Polyfills" in all index.html
2016-11-05 12:53:47 -07:00
Ward Bell
c28b003a3c docs(HTTP Client): edit copy to conform to G-doc guidelines. (#2630) 2016-10-19 23:17:50 -07:00
Ward Bell
6def9505cc chore: convert templateUrls to use moduleId where possible. (#2477) 2016-09-25 18:51:54 -07:00
Ward Bell
6e17d33475 chore: update samples to "angular-in-memory-web-api" (#2472)
chore: update samples to "angular-in-memory-web-api"
2016-09-25 15:24:13 -07:00
Jesús Rodríguez
693f6ae462 chore: rename Angular 2 to simply Angular (#2402) 2016-09-19 20:24:40 -07:00
Trotyl Yu
accd74c0a2 docs(server-communication): Fix typo in example (#2199)
* docs(server-communication): Fix typo in example

Clearly we're transforming the response, not the request.

* docs(server-communication): Fix typo in example

Clearly we're transforming the response, not the request.
2016-08-26 10:12:37 -07:00
Ward Bell
2c8a7982e7 docs: use InMemoryWebApiModule everywhere
closes #2137
2016-08-19 04:26:36 -07:00
Peter Bacon Darwin
d79adb2422 docs(rc5): update docs and plunkers for rc5 2016-08-09 11:48:07 -07:00
Foxandxss
074a33a622 chore: tslint sweep done 2016-06-13 02:40:28 +02:00
Foxandxss
f3205f5beb chore: first sweep on linting the codebase
closes #1616
2016-06-07 16:45:13 -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
Ward Bell
e188e472f1 docs(e2e-tests): improve gulp e2e tasks and fix samples that were failing 2016-05-20 20:33:38 -07:00
Ward Bell
ba02c40b56 docs: switch from es6-shim to core-js shim 2016-05-19 16:37:54 -07:00
Ward Bell
29511831cd docs(server-communication): heavily refactored (TS & Dart) 2016-05-19 02:48:43 -07:00
Ward Bell
594079970c docs(http): remove status 200 guard and add RxJS operators individually 2016-05-17 01:45:52 -07:00
Patrice Chalin
c1440e7eff [review-pending] docs(dev guide): server-communication - new prose
New Dart prose, update Dart and Ts code

+ guide/server-communication/ts: update to docs and example code
+ guide/server-communication/dart: new prose, update example code
+ ignore all npm-debug.logs
+ make Jade ul li TOC elements more compact.
2016-05-13 21:32:54 +01:00
Ward Bell
e99e9185ba docs(index.html) remove extra space in System.importline. 2016-05-11 18:42:31 -07:00
Foxandxss
039f54d9e2 docs(server-communication): fix broken example 2016-05-10 20:10:18 -07:00
Foxandxss
596825a8b1 docs: update all docs to partially comply the style-guide 2016-05-03 12:42:44 -06:00
Ward Bell
3d5302adce chore: update to rc.0 2016-05-02 19:57:28 -07:00
Filipe Silva
216120daba chore: update to beta.17
closes #1213, 1205
2016-04-28 18:31:00 -07:00
Ward Bell
353abff084 docs(server-communication): fix http after testing chapter discoveries 2016-04-13 14:02:48 -07:00
Ward Bell
dd7b5176a8 docs(testing): add tests that involve Angular 2 2016-04-13 14:02:36 -07:00
Ward Bell
ad7f172ea5 docs: share 'styles.css' across all samples all langs; fix styles 2016-02-28 12:47:01 -08:00
Ward Bell
524ff05373 chore: add shims_for_IE.js to all index.html 2016-02-25 14:04:37 -08:00
Justin Santa Barbara
1010034249 docs(http): fix typo: send the server -> send the error
Closes #868
2016-02-21 23:16:23 -08:00
Andreas Wissel
99caf75d3d docs(http): fix typos, clarify endpoints and in-mem web api usage
closes #850

'until you've observables a chance' -> 'until you give observables a chance'
'method adds the the search box value' -> 'method adds the search box value'

Ward piggy backed the other updates.
2016-02-19 00:25:42 -08:00
Ward Bell
16704e9063 docs(http): from Observable.create to Subject, per Rob W 2016-02-03 23:45:27 -08:00
Ward Bell
030653cef3 chore: add "mobile-optimized" <meta> tag to all sample index.html 2016-02-03 15:59:46 -08:00
Ward Bell
8960b6729f docs(http): refine observables story
closes #799
2016-02-02 15:04:48 -08:00
Ward Bell
d8f8da2628 docs(http): heavily revise jsonp discussion 2016-02-02 02:27:52 -08:00
Ward Bell
f2051d9cf6 docs(http): discuss headers for POST 2016-02-01 19:52:14 -08:00
Ward Bell
b2b025aab7 docs(server): add do to peek at results in console 2016-02-01 16:57:31 -08:00
Christoph Burgdorf
8a5bcb4da7 docs(server-communication): discuss promises; refine prose
closes #767
2016-01-29 00:05:57 -08:00
Christoph Burgdorf
77db0755c8 docs(guide/server-communication): adds http chapter
closes #662
2016-01-25 23:28:36 -08:00