Commit Graph

2390 Commits

Author SHA1 Message Date
Zhimin YE (Rex) f5465ad533 review: patch up router.jade. 2016-08-16 14:17:39 +01:00
Zhimin YE (Rex) bc0a475376 review: patch up pipes. 2016-08-16 12:36:08 +01:00
Zhimin YE (Rex) 56b20ce877 review: patch up attribute-directives and server-communication. 2016-08-16 12:31:47 +01:00
Zhimin YE (Rex) cdb162376e review: glossary.jade: patch up new contents. 2016-08-16 12:23:21 +01:00
Zhimin YE (Rex) e5995453ed review: patch up style-guide 2016-08-16 11:14:32 +01:00
Zhimin YE (Rex) 2e837b8f19 review: patch up new paragraphs for dependency-inject.jade. 2016-08-16 11:03:25 +01:00
Zhimin YE (Rex) 4059b1e276 (review): architecture and forms, patch up new paragraphs. 2016-08-16 10:38:04 +01:00
Zhimin YE (Rex) f26ec0a889 (review:) Quick starter and TOH, patch up new paragraphs and mis-alignments. 2016-08-16 10:16:31 +01:00
Zhicheng Wang 650a6033a1 翻译了一部分ngmodule
把邮箱换成图片,以免收到垃圾邮件
2016-08-15 17:38:18 +08:00
Patrice Chalin 35b54383c2 docs(toh-5): add file to cache (#2102)
* toh-pt5: cached version before new router was introduced

* toh-pt5: refreshed cached copy from latest (post-RC5)
2016-08-12 13:39:17 -07:00
Patrice Chalin dfd46af604 docs(toh-6): post-RC5 Dart resync and TS fixes (#2095)
* toh-6: trim spaces from cache file to simplify diff

* toh-6: copy latest over cache before editing latest

* docs(toh-6): post-RC5 Dart resync and TS fixes

Contributes to #2077.

TS-side changes include:
- Merged three versions of `app/app.module{,1,2}.ts` into a single file
and used docregions instead.
- Misnamed files:
  - `rxjs-operators.ts` -> `rxjs-extensions.ts`
  - `hero-search.service.html` -> `hero-search.component.html`
- Fixed BAD FILENAME error.

Lint reports no errors and toh-6 e2e tests pass.
2016-08-12 11:21:16 -07:00
Patrice Chalin ea457825b8 docs(router): fix markdown, and example mixin cleanup (#2101)
* docs(router): fix markdown and example mixin cleanup

- Fixed: markdown text not under `:marked` region (and so that text was
not showing up in the generated html).
- Fixed: code excerpt title `constructor` -> `isSelected`.
- Cleanup of all makeExample mixin uses.

This cleanup will help make it easier to record differences with the
deprecated router chapter (which must have app-relative makeExample
paths).

* post-review updates

Found another instance of markdown (a heading) outside of a `:marked` region.
2016-08-12 11:20:44 -07:00
Patrice Chalin a771a6e0d0 chore(ts/cache): add glossary (#2098) 2016-08-12 11:14:44 -07:00
Zhicheng Wang 94aa3664ab Merge remote-tracking branch 'origin/master'
# Conflicts:
#	.gitignore
#	public/docs/_examples/cb-component-communication/ts/app/app.component.ts
#	public/docs/ts/latest/_data.json
#	public/docs/ts/latest/cookbook/_data.json
#	public/docs/ts/latest/cookbook/a1-a2-quick-reference.jade
#	public/docs/ts/latest/cookbook/dependency-injection.jade
#	public/docs/ts/latest/cookbook/dynamic-form.jade
#	public/docs/ts/latest/cookbook/set-document-title.jade
#	public/docs/ts/latest/glossary.jade
#	public/docs/ts/latest/guide/architecture.jade
#	public/docs/ts/latest/guide/attribute-directives.jade
#	public/docs/ts/latest/guide/dependency-injection.jade
#	public/docs/ts/latest/guide/forms.jade
#	public/docs/ts/latest/guide/hierarchical-dependency-injection.jade
#	public/docs/ts/latest/guide/pipes.jade
#	public/docs/ts/latest/guide/router.jade
#	public/docs/ts/latest/guide/server-communication.jade
#	public/docs/ts/latest/guide/template-syntax.jade
#	public/docs/ts/latest/quickstart.jade
#	public/docs/ts/latest/tutorial/toh-pt1.jade
#	public/docs/ts/latest/tutorial/toh-pt3.jade
#	public/docs/ts/latest/tutorial/toh-pt5.jade
#	public/docs/ts/latest/tutorial/toh-pt6.jade
2016-08-12 07:57:51 +08:00
Patrice Chalin 7075cdbefa docs(hierarchical-di): post-RC5 Dart resync (#2080)
Contributes to #2077.
Depends on #2078.
2016-08-11 14:43:59 -07:00
Patrice Chalin 596b6862de docs(template-syntax/dart): enhancements to example code (#2051)
* docs(template-syntax/dart): enhancements to example code

Enhancements to `NgStyle` section in support of its API docs.
- Add feature supporting interactive update of a paragraph’s style.
- Add full type declarations.
- Replace bogus implementation of `getStyles()`.

* dartfmt updates
2016-08-11 11:47:59 -07:00
Patrice Chalin 2ca6d6567b chore(quickstart/dart): refresh ts _cache (#2089)
Cf. #2088 and #2077.
2016-08-11 11:29:19 -07:00
Patrice Chalin 19d06061c5 docs(quickstart): post-RC5 Dart resync (#2078)
* docs(quickstart): post-RC5 Dart resync

- Resync Dart QS prose with TS, post RC5.
- Added to-be-shared Jade `var` definitions to `_util-fns.jade`.
- Delete cached QS jade file.
- Eliminate the stub file `styles.1.css` in favor of a `docregion` in
the main `styles.css`.

This commit requires a `gulp add-example-boilerplate` after pulling it in.
Contributes to #2077.

* post-review edits
2016-08-10 13:32:07 -07:00
Patrice Chalin ccdc8c0cec chore(pipes): disable broken e2e tests (#2068) 2016-08-10 08:00:04 -07:00
Trotyl Yu 16731979a0 docs(glossary): Fix ECMAScript description
closes #2030
ES2016(ES7) has already been officially published.
2016-08-09 22:44:11 -07:00
Fredy Treboux 124a03ae09 docs(lifecycle-hooks): minor typo.
closes #2045
2016-08-09 22:36:55 -07:00
Aysegul Yonet 5de00cc591 docs(rc4-to-rc5):fix npm for angular-cli
closes #2072
2016-08-09 22:35:23 -07:00
Trotyl Yu b7e42e2d32 docs(ngmodule): Fix typo
closes #2073
2016-08-09 22:33:26 -07:00
Ward Bell d412470b38 Update router.jade 2016-08-09 22:29:27 -07:00
Brandon Roberts 420b9ca59e docs(router): Fixed lazy loading initial example
closes #2070
2016-08-09 20:00:08 -07:00
Ward Bell 162b1773be docs(rc4-to-rc5): fix npm for MD
closes #2067
2016-08-09 17:55:32 -07:00
Benjamin Dopplinger c8cc3226cc docs(toh-pt5/dart): remove an already existing line (#2056)
Remove an import statement as the package is already imported at this stage of the tutorial.
2016-08-09 17:17:56 -07:00
Patrice Chalin 1ae7b31f61 chore(e2e): fix user-input test
closes #2065
There seemed to be a timing issue. A simple rewrite using async/await
seems to solve the problem.
2016-08-09 16:51:37 -07:00
Jesús Rodríguez 787ca1600d docs(ngmodule): remove module.id
closes #2064
2016-08-09 16:27:01 -07:00
Ward Bell 38a59f91bd docs: small, quick fixes for RC5 including link repair. (#2062) 2016-08-09 15:56:47 -07:00
Naomi Black 7bc0877d31 events(aug9): Add anglebrackets 2016-08-09 13:06:00 -07:00
Naomi Black b4a7b31498 news(aug9): news for the rc5 release 2016-08-09 12:39:51 -07:00
Jesús Rodríguez b54db9ab5f chore: swap reflect on webpack to core-js 2016-08-09 12:39:28 -07:00
Ward Bell aef8aa94aa docs(ngmodule): add chapter 2016-08-09 12:31:52 -07:00
Ward Bell fe35bc6c31 docs(rc4-to-rc5): New RC4->RC5 migration cookbook. 2016-08-09 12:28:25 -07:00
Peter Bacon Darwin d79adb2422 docs(rc5): update docs and plunkers for rc5 2016-08-09 11:48:07 -07:00
Benjamin Dopplinger ef1171bd36 docs(toh-pt5/dart): fix grammar mistakes (#2057) 2016-08-09 10:43:42 -07:00
Patrice Chalin 841db9e817 docs(toh-6): show provider to use with a real back end (#2059)
Fixes #2055.
2016-08-09 10:41:05 -07:00
Patrice Chalin 5ce8304227 docs(dart): decouple from TS .jade files temporarily (#2044)
Addresses #2043.
2016-08-08 15:48:45 -07:00
Patrice Chalin b796d4b97d chore(dart-doc-sync): data files for component-styles and lifecycle-hooks (#2052)
Note that component-styles and lifecycle-hooks examples have been
sync’d for a while, though they were missing `.docsync.json` files.
2016-08-08 12:48:44 -07:00
Zhicheng Wang 9c4b801f8a 更正一个编译bug 2016-08-06 20:17:07 +08:00
Zhicheng Wang 251d4ffe6c 合并了官方的最新更新 2016-08-06 20:04:41 +08:00
Zhicheng Wang d034bc33c8 Merge remote-tracking branch 'origin/master'
# Conflicts:
#	public/contribute.jade
#	public/docs/js/latest/cookbook/ts-to-js.jade
#	public/docs/ts/latest/cookbook/_data.json
#	public/docs/ts/latest/cookbook/component-communication.jade
#	public/docs/ts/latest/cookbook/component-relative-paths.jade
#	public/docs/ts/latest/cookbook/dependency-injection.jade
#	public/docs/ts/latest/cookbook/dynamic-form.jade
#	public/docs/ts/latest/cookbook/set-document-title.jade
#	public/docs/ts/latest/glossary.jade
#	public/docs/ts/latest/guide/forms.jade
#	public/docs/ts/latest/guide/pipes.jade
#	public/docs/ts/latest/guide/router.jade
#	public/docs/ts/latest/guide/user-input.jade
#	public/docs/ts/latest/tutorial/toh-pt6.jade
2016-08-06 19:52:08 +08:00
Zhicheng Wang 517293558c 加入了社区贡献者 2016-08-06 18:04:59 +08:00
Peter Bacon Darwin 35b2dbd867 docs(tutorial): text following a node requires a dot 2016-08-06 07:58:28 +01:00
Peter Bacon Darwin 9f03fca039 docs(cookbook): text following a node requires a dot 2016-08-06 07:45:32 +01:00
Jesús Rodríguez 1a8bbea1d1 docs(pipes): add a section about the Intl API
closes #1999
2016-08-05 17:12:10 -07:00
Jesús Rodríguez 22a3704947 chore: update next-item for hidden
closes #2032
2016-08-05 17:04:57 -07:00
Matt Ezell 28174673fe docs(router): formatting - Back Quote to Wrap Identifier
closes #2020
2016-08-05 17:03:25 -07:00
Brandon Roberts 14ad2a8c68 fix(docs): Renamed files for JavaScript/Dart dynamic form cookbook
closes #2010
2016-08-05 16:57:48 -07:00
Ciro Nunes f0272f26f4 docs(glossary): fix link to `component` for DI def
closes #2009
2016-08-05 16:54:56 -07:00
wajdibr 2328b5843b docs(contribute): remove the word beta
closes #1975
2016-08-05 16:53:39 -07:00
Adam d26afa90fd docs(toh-6): Move styles from sample.css to heroes.component.css
closes #1751
Move additional styles from `sample.css` to `hero-search.component.css`.
Edit tutorial to reflect the removal of `sample.css` and the change to `heroes.component.css`.
Edit tutorial to reflect the addition of `hero-search.component.css` file.
Edit `hero-search.component.ts` to include styles from `hero-search.component.css`.
Remove reference to `/public/docs/_examples/toh-6/ts/sample.css` from `/public/docs/_examples/toh-6/ts/index.html`.
2016-08-05 16:45:53 -07:00
Brandon Roberts b93fb12fea chore(examples): Updated live example links to use helper directive
closes #2005
2016-08-05 16:41:45 -07:00
Patrice Chalin 531d6a8bce docs(glossary/dart): recover content (#2037)
Fixes #1918.

Follow-up work will be done under #2036.
2016-08-05 12:13:29 -07:00
Patrice Chalin 6a2cad2640 docs(chore): ensure {forms|router}{,-deprecated} chapters have proper content (#2034)
Fixes #2026.
2016-08-05 11:13:32 -07:00
Kathy Walrath a423724847 docs(dart): update angular.io/dart's link to change log 2016-08-03 12:29:04 -07:00
Zhicheng Wang 26fd68ed99 加入了社区贡献者 2016-08-03 13:57:40 +08:00
雪狼 ab4ce4f48f Merge pull request #45 from kapr1k0rn/master
修正一些教程->服务页面的翻译
2016-08-03 00:56:40 -05:00
Zhicheng Wang e8d0dab89c #44 根据 @edtim8 的建议做了更正。 2016-08-03 13:56:08 +08:00
Patrice Chalin 8a6c5b5725 docs(toh-6): add hero search to Dart; minor edits to TS (#2018)
* docs(toh-6/dart): add hero search

Fixes #1924.

* docs(toh-6/ts): minor updates

* post-review updates

* post-review updates
2016-08-02 09:59:35 -07:00
Zhicheng Wang 05f8b866c2 校对 2016-08-02 07:04:52 +08:00
Patrice Chalin a49ecc7fd8 docs(architecture): give example of libraries in TS and Dart (#2015)
Follow-up to
https://github.com/angular/angular.io/pull/1972#issuecomment-235738082
2016-08-01 14:34:36 -07:00
Patrice Chalin 36091d5934 docs(DI/dart): fix incorrect snippet (#2017)
Dart counterpart to #2001.
Fixes #1956 for Dart.
2016-08-01 14:28:28 -07:00
Adão Júnior 6f63e6a390 docs(server-communication): Resolve todo (#1993)
* use latest version of http_in_memory_web_api

* remove todo and drop the ?? body term
2016-08-01 14:13:24 -07:00
Ciro Nunes e2919de78f docs(glossary): improve DI word
closes #2007
2016-08-01 12:52:30 -07:00
Torgeir Helgevold daac8fffbe docs(cb-dynamic-forms): update subtitle
closes #2004
2016-08-01 12:49:15 -07:00
Jesús Rodríguez 818c82c2a2 chore: add README.md to each plunker
closes #1974
2016-08-01 12:48:04 -07:00
Patrice Chalin 04d5337b75 docs(toh-6): search query fixes
closes #2008
Changes:
- Drop `asObservable()` since it is deprecated in RxJS 5 (see the
[migration
guide](https://github.com/ReactiveX/RxJS/blob/master/MIGRATION.md#operat
ors-renamed-or-removed)).
- Drop `+` from hero search query URL: `app/heroes/?name=${term}+`. At
best it is interpreted as a regex op that serves no purpose, at worst,
it gets interpreted as a space (cf. [HTML 4.01 section
17.13.4](https://www.w3.org/TR/REC-html40/interact/forms.html#h-17.13.4)
).
- Rename `searchSubject` to `searchTerms`
- Other minor tweaks to prose.

This work is in preparation for #1924.

Note: toh-6 tests pass.
2016-08-01 11:50:53 -07:00
Phil adb1b1d43b fix some translation in tutorial 2016-08-01 17:35:11 +08:00
Zhimin YE (Rex) 60a06e51b9 Merge remote-tracking branch 'angular.io/master'
# Conflicts:
#	README.md
#	public/_includes/_hero-home.jade
#	public/docs/ts/latest/guide/architecture.jade
#	public/docs/ts/latest/tutorial/toh-pt6.jade
2016-08-01 09:52:29 +01:00
Zhicheng Wang 3e1fe05f8a 校对 2016-08-01 13:43:28 +08:00
Naomi Black 68c9561dec banner(angularconnect): add an ac promo to the banner 2016-07-29 15:23:03 -07:00
Naomi Black 349449ee2d news(july30): update news and events week of july 30 2016-07-29 14:48:26 -07:00
crisbeto 1e02c4c37c chore(bios): add bio for Kristiyan Kostadinov 2016-07-29 14:48:26 -07:00
Thomas Burleson 486d6c4986 update(bio): improve picture and bio description 2016-07-29 14:48:26 -07:00
Jesús Rodríguez 4507589e26 docs(toh): add explanation for using the search box
closes #2002
2016-07-29 12:44:20 -07:00
Jesús Rodríguez 92239a80ed docs(DI): fix incorrect snippet 2016-07-29 08:40:20 -07:00
Gerard Sans abd6febed5 docs(animation): fix typo! =O
closes #1992
2016-07-29 08:37:31 -07:00
Jesús Rodríguez 4b3b3a2d50 chore: update typings 2016-07-29 08:35:57 -07:00
Jesús Rodríguez 5ca22eed32 docs(architecture): rename missing library 2016-07-29 08:31:31 -07:00
Jesús Rodríguez efbf259318 chore: fix linting 2016-07-29 13:27:06 +02:00
Zhicheng Wang 460fad267d Merge remote-tracking branch 'cn/master' 2016-07-29 08:06:01 +08:00
Zhicheng Wang e56ea94549 Merge remote-tracking branch 'origin/master' 2016-07-29 08:05:26 +08:00
Eric Jimenez 1e194b1960 change arrow style function to regular function 2016-07-28 13:43:53 -07:00
Zhimin YE (Rex) c650436be1 Fix: #42 ES2105 -> ES2015 2016-07-28 09:07:52 +01:00
Zhicheng Wang 7916ec4c8d Merge remote-tracking branch 'origin/master'
# Conflicts:
#	public/docs/ts/latest/guide/animations.jade
#	public/docs/ts/latest/guide/npm-packages.jade
#	public/docs/ts/latest/guide/router.jade
#	public/docs/ts/latest/guide/upgrade.jade
2016-07-26 17:45:25 +08:00
Zhicheng Wang 91eb1f6f45 校对 2016-07-26 17:35:18 +08:00
Zhicheng Wang 01d2494879 校对 2016-07-26 17:34:04 +08:00
Zhicheng Wang 9334c93401 做了初步的SEO 2016-07-26 08:28:02 +08:00
Zhicheng Wang ed8b3cd9e0 微调 2016-07-26 08:16:57 +08:00
Ignat Shining fc1a9a6026 docs(dependency-injection): Clarify how TypeScript generates decorator metadata
closes #1960
2016-07-25 10:40:56 -07:00
Kyle Roberts ce8b94799c docs(Router): remove duplicate "activated"
closes #1957
2016-07-25 10:14:55 -07:00
Fatima Remtullah af225701b0 chore: update Loved by Millions image
closes #1951
2016-07-25 10:13:23 -07:00
Kyle Roberts 335d20e834 docs(Npm Packages): grammar and capitalization consistency
closes #1947
2016-07-25 10:12:18 -07:00
Michael bede1db748 typo(animation) wrong documentation for states
closes #1937
2016-07-25 10:01:30 -07:00
Tero Parviainen 0ae32e7adb docs(upgrade): cover Angular 1.5 one-way data bindings
closes #1090, 1169
2016-07-25 09:58:41 -07:00
Zhicheng Wang 3233fc4a76 翻译完了新增 部分 2016-07-25 12:42:36 +08:00
Zhicheng Wang 5532c54ff7 翻译完了一部分新增英文内容 2016-07-24 22:06:39 +08:00
Zhicheng Wang 28fe7d848f 把“作用范围”批量改为“作用域” 2016-07-24 17:31:51 +08:00
Zhicheng Wang 4400deeef8 Merge remote-tracking branch 'origin/master'
# Conflicts:
#	gulpfile.js
#	public/docs/ts/latest/guide/router.jade
#	public/docs/ts/latest/guide/template-syntax.jade
#	public/docs/ts/latest/tutorial/toh-pt6.jade
#	public/resources/js/controllers/resources-controller.js
2016-07-24 17:27:48 +08:00
Zhicheng Wang c3b68a6c1b 采纳了几个来自社区的意见 2016-07-22 20:51:32 +08:00
雪狼 6ef4a5c331 Merge pull request #37 from dreamapplehappy/dreamapple-contribute
翻译的一点建议
2016-07-22 20:40:48 +08:00
Kathy Walrath 66984d5fc8 Revert "Template Expression Operators Copy Edit "
This reverts commit d0811714d5.
2016-07-21 13:41:44 -07:00
sgmills365 14bd476d89 Added capital lettings to titles 2016-07-21 00:42:18 -07:00
amandaegraham d0811714d5 Template Expression Operators Copy Edit
Waterloo ENGL 210 J Student 
Changed order of text in pipe operator to introduce pipe operator 
Changed word choice/word location in pope operator 
Added : before examples to keep consistent
2016-07-21 00:42:18 -07:00
amandaegraham 7e1dba64eb Interpolation Copy Edit 2016-07-21 00:42:18 -07:00
amandaegraham e8642d4616 HTML Section Copy Edit
Waterloo ENGL 210J Student  
Line 44: Changed tense
Line 54: Changed wording of second sentence to not start with 'and'. Added DOM meaning (Document Object Model)
2016-07-21 00:42:18 -07:00
Patrice Chalin ff46ee0282 tests(toh-4): e2e tests
closes #1940
Note: tests are identical to those of toh-2.

Contributes to #1619.
Supersedes #1785.

Suites passed:
- public/docs/_examples/toh-4/dart
- public/docs/_examples/toh-4/ts
2016-07-20 18:22:23 -07:00
Patrice Chalin 7dfbb884b3 tests(toh-3): e2e tests
closes #1939
Contributes to #1619.
Note: tests are identical to those of toh-2.

Suites passed:
- public/docs/_examples/toh-3/dart
- public/docs/_examples/toh-3/ts
2016-07-20 18:21:23 -07:00
Patrice Chalin 6b5d8cb2a7 tests(toh-2): e2e tests
closes #1938
Contributes to #1619.
2016-07-20 18:20:17 -07:00
Patrice Chalin 248eeac6b2 tests(toh-1/e2e): cleanup and updates incl. use of async/await 2016-07-20 16:10:09 -07:00
Patrice Chalin eafd7db119 chore(ng2/dart): update from beta.1x to beta.18 (#1941)
* chore(ng2/dart): update from beta.1x to beta.18

Update made to all `pubspec.yaml` files and to relevant prose.
Note that pipes was back a beta.15; the rest were at beta.17.

* chore(pipes/dart): update ngFor microsyntax and transform method param

Updates to pipe example source code:
- Pipe `transform()` method parameters
- `ngFor` microsyntax, from `#` to `let`
2016-07-20 15:51:23 -07:00
Patrice Chalin 738b5509f8 examples(tutorial): misc fixes to issues from failed e2e
Misc fixes to problems with the tutorial examples, as detected by the new e2e tests. Now the toh-4 index.html is identical to those of the previous parts.

Fixes #1609.
2016-07-20 08:34:32 -07:00
Jesús Rodríguez 825c416f8a chore: bump router on plunker
closes #1927
2016-07-19 22:18:56 -07:00
Brandon Roberts 2e3f3e7fb1 docs(router): Minor dev guide fixes
closes #1932
2016-07-19 22:15:21 -07:00
Torgeir Helgevold f00b96fab8 docs(toh-6): remove details about throw 2016-07-19 22:48:55 -04:00
Torgeir Helgevold 0387b810c6 docs(toh-6): remove throw
closes #1930
2016-07-19 17:20:15 -07:00
Patrice Chalin b4c92d9c9c docs(toh-6/dart): quickfix to "BAD FILENAME" errors (#1929)
Exclude the new Observables section entirely for now.
2016-07-19 15:30:42 -07:00
Patrice Chalin 753452650c docs(cheatsheet/dart): generate from dart sources (#1912)
* docs(cheatsheet/dart): generate from dart sources

Fixes #1906.
2016-07-19 12:35:39 -07:00
Ward Bell ce2e14e4ae docs(toh-pt6): bind to a component method rather than a RxJS Subject
updated text accordingly
2016-07-19 12:26:14 -07:00
Ward Bell 72efdc5e5b chore: add tslint to example package.json
closes #1926
Not sure how it disappeared.
2016-07-19 11:28:23 -07:00
Eric Jimenez 8c1bbbf318 chore: alphabetize entries in resources page. Add margin under frontpage banner 2016-07-19 09:52:25 -07:00
Torgeir Helgevold f50dff818a docs(toh-pt6): add observables to HTTP tutorial chapter
closes #1528
2016-07-18 23:12:44 -07:00
Brandon Roberts f056a2d5d2 docs(router): Added content updates to developer guide
closes #1905
Added section for RouterLinkActive
Added section for global query params and fragments
Added section for RouterState
Added wildcard route to example configuration
Updated code samples
Renamed .guard files to .service
Renamed interfaces.ts to can-deactivate-guard.service.ts
Removed unused files
2016-07-18 15:21:09 -07:00
Benoit Lateltin 5bac678c60 docs(toh-pt5): fix typo in tutorial
closes #1913
2016-07-18 11:10:19 -07:00
Zhicheng Wang 7c2da09b21 语言微调 2016-07-18 14:30:01 +08:00
dreamapple 2269c9f893 翻译的建议 2016-07-18 10:50:36 +08:00
dreamapple e72ae07927 翻译的建议 2016-07-18 10:46:20 +08:00
dreamapple a56b460e20 翻译的建议: "In practice"在文中翻译为"实际上"可能比"在实践中"要好理解. 2016-07-18 10:38:00 +08:00
Zhicheng Wang e140256358 Merge remote-tracking branch 'origin/master'
# Conflicts:
#	README.md
2016-07-17 20:40:12 +08:00
Torgeir Helgevold a19c2ce726 docs(toh-6): use consistent header syntax
closes #1903
2016-07-16 19:10:41 -07:00
Zhicheng Wang 1d107eafb3 翻译了一些合并时遗漏的内容 2016-07-16 18:29:42 +08:00
Zhicheng Wang 3e9394f62a 校对合并结果 2016-07-16 17:47:55 +08:00
vikerman 6bf6741bcb chore(bios): Added bio for Vikram Subramanian (#1891) 2016-07-15 15:34:05 -07:00
Patrice Chalin 1bef20abc4 docs(api/dart): add support for generation and display (#1888)
Fixes #1880.
Supersedes #1593.
2016-07-15 14:10:12 -07:00
Zhimin YE (Rex) 82c7f49784 review: toh-pt5.jade 2016-07-15 17:30:05 +01:00
Zhimin YE (Rex) b2bd58c675 review of architecture.jade. 2016-07-15 17:11:25 +01:00
Jesús Rodríguez d7ece5f4b7 chore: hide the english toggle link until angular is loaded 2016-07-15 17:58:01 +02:00
Zhimin YE (Rex) 0e14785cba Merge remote-tracking branch 'angular.io/master'
# Conflicts:
#	README.md
#	public/_includes/_footer.jade
#	public/_includes/_hero-home.jade
#	public/docs/ts/latest/cookbook/a1-a2-quick-reference.jade
#	public/docs/ts/latest/glossary.jade
#	public/docs/ts/latest/guide/architecture.jade
#	public/docs/ts/latest/guide/dependency-injection.jade
#	public/docs/ts/latest/guide/forms.jade
#	public/docs/ts/latest/guide/router.jade
#	public/docs/ts/latest/guide/style-guide.jade
#	public/docs/ts/latest/testing/first-app-tests.jade
#	public/docs/ts/latest/testing/jasmine-testing-101.jade
#	public/docs/ts/latest/tutorial/toh-pt5.jade
2016-07-15 15:52:34 +01:00
Chris Grieger 08d051d2f6 docs(testing): refer to 'lite-server' instead of 'live-server'.
closes #1737
Since the QuickStart uses 'lite-server', this should also be used for
the testing guide.
2016-07-14 14:39:59 -07:00
Foxandxss a8091f5b84 docs(style-guide): remove routing from TOC
closes #1856
2016-07-14 14:19:48 -07:00
Foxandxss abd860c3ca chore: update testing example to RC4
closes #1839
2016-07-14 14:11:02 -07:00
Foxandxss 8ddc93d211 docs(style-guide): create a route redirection
closes #1857
2016-07-14 14:09:19 -07:00
雪狼 657bf63bdf Merge pull request #34 from dreamapplehappy/dreamapple-contribute
翻译的一点修改: _logger修改为logger
2016-07-14 16:51:12 +08:00
Zhicheng Wang 221f00c8b7 根据Hongbo-Miao的建议修正了一些问题 2016-07-14 16:48:52 +08:00
雪狼 31500f1006 Merge pull request #28 from Hongbo-Miao/patch-1
add lost @Component back
2016-07-14 16:07:17 +08:00
dreamapple 68e7149742 翻译的一点修改: _logger修改为logger 2016-07-14 14:31:17 +08:00
Zhicheng Wang 438a15abe3 增加中文社区三群 2016-07-14 11:42:23 +08:00
Hongbo Miao 8b4aee3935 Update attribute-directives.jade 2016-07-13 23:32:24 -04:00
Hongbo Miao b4a194634c add lost info back 2016-07-13 23:30:40 -04:00
Zhicheng Wang e2892d1382 纠正一个翻译错误,来自wudingli。 2016-07-14 10:41:54 +08:00
Zhicheng Wang c8ec2db73c 翻译了一个遗漏的新增英文 2016-07-14 10:06:13 +08:00
Zhicheng Wang 3789144368 根据网友pshadow的勘误,改正一个错误 2016-07-14 07:52:12 +08:00
Zhicheng Wang bc06443bb6 在中英文之间添加了一些空格 2016-07-13 13:28:10 +08:00
Zhicheng Wang 5cf04ba3ec 在中英文之间添加了一些空格 2016-07-13 13:27:52 +08:00
Zhicheng Wang c50faffd97 添加了一些空格 2016-07-13 13:16:41 +08:00
Naomi Black 5da6dff3ec launch(chinese): update the banner translation 2016-07-11 23:03:01 -07:00
Naomi Black 9aa664a49d chore(news): add link to china blog announcment 2016-07-11 22:54:00 -07:00
Zhicheng Wang 46ea47d126 添加dialog.service导致了编译错误,修正回去 2016-07-12 13:52:49 +08:00
Naomi Black be23e90095 launch(china): announce angular.cn 2016-07-11 22:45:23 -07:00
Thomas Shafer b669e30187 docs(toh-4): change var keyword to const for HEROES constant
closes #1858
HEROES is a `const` and is defined as a `const` originally: https://github.com/angular/angular.io/blob/master/public/docs/_examples/toh-2/ts/app/app.component.ts#L10
2016-07-11 22:07:41 -07:00
Zhicheng Wang 47eb31ddb2 移除banner中的切换中英文提示 2016-07-12 13:05:48 +08:00
Sekib Omazic f15b40f513 fix(package.webpack.json): add angular2-template-loader
closes #1864
Add missing angular2-template-loader dependency
2016-07-11 22:02:20 -07:00
Foxandxss 961f5c8994 chore: make animation test wait a bit longer
closes #1844
2016-07-11 22:00:04 -07:00
Foxandxss 50b51f6bdc docs(router): fix broken links in router chapters
closes #1843
2016-07-11 21:57:15 -07:00
Patrice Chalin 98e5d4af77 docs(all): link cleanup - broken and outdated
closes #1841
Fixes all broken links except genuine errors (see #1840), have been
resolved as of 2016-07-06
(https://github.com/angular/angular/commit/2708ce6a17667a2369c83bcf244c9
366b058d4c9).

Fixes #1574
2016-07-11 21:50:07 -07:00
Brandon Roberts 5104470558 docs(router): Removed refs to deprecated router; lowerCamelCase constants
closes #1834
2016-07-11 21:44:12 -07:00
Patrice Chalin 761f857f13 docs(architecture/dart): proofread, updated Dart/TS app and jade
closes #1807
- e2e tests now also cover the tax calculator.
- Dart app updated to match TS (it had no sales tax calculator).
- TS sample source cleanup (e.g. removed many unnecessary `docregions`).
- Prose updated to include @kwalrath's revisions from a while ago, Ward's comments, and
some of my edits as well.

Contributes to #1598 and #1508.
2016-07-11 20:35:06 -07:00
Patrice Chalin fb9edf972e chore: fix "Invalid example" warnings from shred map builder
closes #1832
The shred map (xref) builder was issuing warnings. This fix includes
- Adjustments to the shredder map builder itself so that it
understands, e.g., app-project relative example paths.
- `**/guide/glossary.jade` now (Jade) `includes` the shared parent
`glossary.jade` rather than (Harp) importing (via `partial`). This
fixes `makeExample` path issues in the glossary.
- Adjusted some `makeExample` paths that were ok for site build, but
confused the xref tool.
2016-07-11 20:10:56 -07:00
Zhicheng Wang 2eb5463384 微调 2016-07-11 13:13:01 +08:00
雪狼 aae9cc20d1 Merge pull request #16 from dreamapplehappy/dreamapple-contribute
翻译的一点建议
2016-07-11 13:11:44 +08:00
Zhicheng Wang f6eba2df5e 根据gogobook的反馈添加了dialog.service
鸣谢里添加了给出反馈的github网友
2016-07-11 13:04:16 +08:00
Zhicheng Wang ac9e032b51 根据 wudingli 的反馈修正了翻译 2016-07-11 12:51:41 +08:00
Zhicheng Wang 210b076594 根据网上反馈去掉了路由名字,新版已经不需要了。 2016-07-11 12:46:21 +08:00
Zhicheng Wang fb60f9c4c5 翻译了一段儿新增内容 2016-07-11 08:37:48 +08:00
Zhicheng Wang 273a0fd1e8 Merge remote-tracking branch 'origin/master'
# Conflicts:
#	public/docs/ts/latest/guide/displaying-data.jade
#	public/docs/ts/latest/guide/style-guide.jade
#	public/docs/ts/latest/guide/typescript-configuration.jade
#	public/docs/ts/latest/guide/webpack.jade
2016-07-11 08:32:56 +08:00
Zhimin YE (Rex) 01dc30eb3e chore: Change toggle button text to English.
Add "Click to show/hide English" to home.
2016-07-08 09:47:55 +01:00
Ward Bell 0664a271ba docs(style-guide): spell const variables in lower camel case
Changes previous guidance on const which insisted on UPPER_SNAKE_CASE
2016-07-07 22:41:04 -07:00
Ward Bell 2c5f0dbd9a docs(router): more little fixes from #1808 2016-07-07 18:51:36 -07:00
Patrice Chalin 801ac76da0 docs(guide/displaying-data): proofread (#1819)
* docs(displaying-data/dart): proofread

- Dart prose simplified by removing discussion of "additions to
pubspec.yaml" which are no longer necessary given the current state of
QuickStart.
- E2e suites passed:
  public/docs/_examples/displaying-data/dart
  public/docs/_examples/displaying-data/ts

Contributes to #1598 and #1508.

* docs(displaying-data/ts): proofread

- TS prose updated to include @kwalrath's revisions from a while ago,
with some of my edits as well.
- E2e suites passed:
  public/docs/_examples/displaying-data/dart
  public/docs/_examples/displaying-data/ts

* docs(displaying-data/ts): post-review edits
2016-07-07 14:00:19 -07:00
Patrice Chalin ff718f4211 docs(cheatsheet/dart): alert reader of possible inaccuracies (#1814)
Until we can generate the cheat sheet properly, at least alert reader
of possible inaccuracies.
2016-07-07 11:42:04 -07:00
Zhicheng Wang ba245134a7 更换跟踪ID 2016-07-07 09:50:10 +08:00
Zhicheng Wang 1cb52fe7a0 加回Google分析代码 2016-07-07 09:40:38 +08:00
Zhicheng Wang 6975026f0c 微调,改界面文字 2016-07-07 08:33:14 +08:00
Zhicheng Wang 6264d3bcde 批量把Provider/provide改译为提供商/提供,以和ISP(互联网服务提供商)的译法看齐 2016-07-07 08:22:36 +08:00
Zhicheng Wang 0303a18020 Merge remote-tracking branch 'origin/master'
# Conflicts:
#	README.md
#	public/docs/ts/latest/guide/attribute-directives.jade
#	public/docs/ts/latest/guide/component-styles.jade
#	public/docs/ts/latest/guide/dependency-injection.jade
#	public/docs/ts/latest/guide/hierarchical-dependency-injection.jade
#	public/docs/ts/latest/guide/lifecycle-hooks.jade
#	public/docs/ts/latest/guide/pipes.jade
#	public/docs/ts/latest/guide/security.jade
#	public/docs/ts/latest/guide/server-communication.jade
#	public/docs/ts/latest/guide/structural-directives.jade
#	public/docs/ts/latest/quickstart.jade
#	public/docs/ts/latest/testing/testing-an-angular-pipe.jade
#	public/docs/ts/latest/tutorial/index.jade
#	public/docs/ts/latest/tutorial/toh-pt1.jade
#	public/docs/ts/latest/tutorial/toh-pt2.jade
#	public/docs/ts/latest/tutorial/toh-pt3.jade
#	public/docs/ts/latest/tutorial/toh-pt4.jade
#	public/docs/ts/latest/tutorial/toh-pt5.jade
#	public/docs/ts/latest/tutorial/toh-pt6.jade
2016-07-07 08:15:51 +08:00
Brandon Roberts 791b364f6a chore(bios): Added bio for Brandon Roberts 2016-07-06 13:02:27 -07:00
Ward Bell d1dd2b82f4 docs(router): changes suggested by Deb Kurata in #1808 2016-07-06 01:11:34 -07:00
Christos Koutsiaris 7f991dc4f1 docs(typescript-configuration): TypeScript handbook documentation link change
closes #1830

Page has moved to http://www.typescriptlang.org/docs/handbook/tsconfig-json.html
2016-07-05 23:41:15 -07:00
Foxandxss da58ff45c7 docs(style-guide): update style-guide samples to use v3 router
closes #1828
2016-07-05 23:29:29 -07:00
Foxandxss 341f32d7f6 docs(webpack): add angular2-template-loader
closes #1825
2016-07-05 23:25:07 -07:00
Foxandxss 37b377ddb3 docs: update node and npm version recommendations
closes #1821
2016-07-05 23:09:37 -07:00
Patrice Chalin b0e0d94b5c docs: revert Jade to markdown
closes #1818
Previously, the markdown of some chapters was converted to Jade markup
to support the conditional exclusion of TS prose parts in Dart
chapters. This commit reverts some of that back to clean markdown,
thanks to a few custom directives.
2016-07-05 23:03:30 -07:00
eltronix e2cd8ffe1d docs(testing): Fixed typo in pipe.jade
closes #1805
2016-07-05 21:06:13 -07:00
Stephen Fox e766f666bd docs(http): Small typo fix in sentence reference to items: Observable
Ward tacked on router: ngDestroy -> ngOnDestroy
closes #1690
2016-07-05 20:55:03 -07:00
Zhimin YE (Rex) 800f2e6439 script(translate.js): dragging does not toggle original text. 2016-07-05 12:53:58 +01:00
dreamapple 50225ceea4 翻译的一点修改 位置:user-input.jade 2016-07-05 14:56:01 +08:00
Zhicheng Wang 6fcde3f63f 修改一个链接上的小问题 2016-07-05 11:23:45 +08:00
Zhicheng Wang be4748bce0 修改了一系列小bug
微调“关于”页面
2016-07-05 08:35:08 +08:00
Ward Bell e4c5fe32e7 docs(forms): fix import in sample HeroFormsComponent - @angular/common -> @angular/forms 2016-07-04 15:07:12 -07:00
Zhimin YE (Rex) b4857a59e0 correction(about.jade): 感谢谢-> 感谢 2016-07-04 15:51:28 +01:00
Zhimin YE (Rex) 24ab1e5fcc Chore: break a line in toh-pt1 2016-07-04 12:00:32 +01:00
Zhicheng Wang 3dd7fb7488 bbs先改回http 2016-07-04 17:21:56 +08:00
Zhicheng Wang a69c2fe427 微调 2016-07-04 17:03:26 +08:00
Zhicheng Wang 5d191fa335 根据栾跃的意见做了一些修改
加入了官方微信号
2016-07-04 17:00:20 +08:00
Zhimin(Rex) YE 3184375783 correction: router sample correction 2016-07-03 17:38:33 +01:00
Zhicheng Wang 78fb5708de 英文版改为English 2016-07-03 16:23:10 +08:00
Zhicheng Wang 711a173606 Merge remote-tracking branch 'origin/master'
# Conflicts:
#	public/docs/ts/latest/guide/router.jade
2016-07-03 15:27:10 +08:00
Zhicheng Wang 9405f34b3c 微调 2016-07-03 15:20:07 +08:00
Zhicheng Wang 6b37b74665 加上了栾跃的致辞,并增设了论坛链接 2016-07-03 13:03:29 +08:00
Ward Bell dba3a8f9c9 docs: replace xxx.filter(...)[0] with xxx.find(...)
see #1801
2016-07-02 16:13:32 -07:00
Ward Bell fdbb7b5184 docs(router): clarify router redirect and link to Victor's blog post 2016-07-02 15:51:49 -07:00
Zhicheng Wang e82f462c78 文字微调 2016-07-02 22:51:35 +08:00
Zhicheng Wang d7a0458484 把到风格指南的链接改成绝对路径
文字微调
2016-07-02 22:45:30 +08:00
Zhicheng Wang bfddca872e 文字微调 2016-07-02 22:18:11 +08:00
Zhicheng Wang 675d7ea9ff 文字微调 2016-07-02 21:58:30 +08:00
Zhicheng Wang 541eeedcec 修改了导航结构,放上了Naomi的致辞 2016-07-02 21:16:06 +08:00
Zhicheng Wang 3c5a045633 Merge remote-tracking branch 'origin/master'
# Conflicts:
#	public/docs/ts/latest/guide/router.jade
2016-07-02 19:16:00 +08:00
Naomi Black f3da5c8a36 chinese(url): small change to url in footer 2016-07-01 19:21:36 -07:00
Foxandxss 1900eb1c70 docs: replace terminal with pathMatch, base href with '/'
closes #1799
2016-07-01 16:32:39 -07:00
Naomi Black 527fe50b88 footer(china): update the footer for localised docs 2016-07-01 13:41:06 -07:00
Patrice Chalin 0ba3d5d8d6 docs(dart/{quickstart,toh-[56]}): fix project names (#1773)
- Renamed `angular2_getting_started` to `angular2_quickstart` (to match
TS).
- s/-/_/g in project names elsewhere (only toh-5 & -6 needed to be
updated).

Fixes #378.
2016-07-01 11:05:45 -07:00
Alex ed4689fd2d update title to point to correct version 2016-07-01 08:01:16 -07:00
Foxandxss 4774f4861e chore: update router to beta 2 2016-07-01 08:00:50 -07:00
Eric Jimenez d5417a32a2 add cn language to footer 2016-07-01 07:59:29 -07:00
Zhicheng Wang 0dd2932a2e Merge remote-tracking branch 'origin/master'
# Conflicts:
#	public/_data.json
#	public/docs/ts/latest/_data.json
#	public/docs/ts/latest/guide/router.jade
#	public/docs/ts/latest/guide/security.jade
#	public/docs/ts/latest/guide/template-syntax.jade
#	public/news.jade
#	public/resources/_data.json
#	public/resources/index.ejs
#	public/resources/js/controllers/resources-controller.js
2016-07-01 08:38:54 +08:00
Zhicheng Wang 1a806de866 移除行尾不必要的空格 2016-07-01 08:26:45 +08:00
Zhicheng Wang dfc20a6adc Merge remote-tracking branch 'cn/master' 2016-07-01 08:25:35 +08:00
Zhicheng Wang 21fe9dc1d2 Merge remote-tracking branch 'origin/master'
# Conflicts:
#	README.md
#	public/docs/js/latest/cookbook/ts-to-js.jade
#	public/docs/ts/latest/cookbook/a1-a2-quick-reference.jade
#	public/docs/ts/latest/guide/architecture.jade
#	public/docs/ts/latest/guide/attribute-directives.jade
#	public/docs/ts/latest/guide/forms.jade
#	public/docs/ts/latest/guide/lifecycle-hooks.jade
#	public/docs/ts/latest/guide/router.jade
#	public/docs/ts/latest/guide/server-communication.jade
#	public/docs/ts/latest/guide/style-guide.jade
#	public/docs/ts/latest/guide/template-syntax.jade
#	public/docs/ts/latest/testing/first-app-tests.jade
#	public/docs/ts/latest/tutorial/toh-pt5.jade
#	public/docs/ts/latest/tutorial/toh-pt6.jade
#	public/news.jade
2016-07-01 08:24:23 +08:00
Naomi Black 3c42db3b66 news(rc4): add rc4 post to news blog snippets 2016-06-30 13:25:45 -07:00
Zhicheng Wang 6c0cc46a01 chore: add Ralph to bios 2016-06-30 13:19:28 -07:00
Naomi Black 314ff5627b chore(version): update the version to rc4 2016-06-30 13:08:08 -07:00
Patrice Chalin 7d50fa9302 post-review updates
Also cleaned up `makeExample`s (changing most to `makeExcerpt`).
2016-06-30 13:04:55 -07:00
Patrice Chalin 705d8c50fd docs(security): proofread prose, app now shows good and bad
- App now shows how Angular handles untrusted URLs and resources
- E2e test covered new functionality
- Copyedits to prose
- Updated provider expressions to use latest syntax

The original security feature tracker:
https://github.com/angular/angular/issues/8511
2016-06-30 13:04:55 -07:00
Foxandxss 909f230cc7 update router to beta.1 2016-06-30 13:04:04 -07:00
Foxandxss 10de4c5753 update in memory web api 2016-06-30 13:03:44 -07:00
Foxandxss 2379e8b86e update plunkers versions 2016-06-30 12:40:59 -07:00
Foxandxss 6a34dce5e0 remove linting for spec file 2016-06-30 12:40:59 -07:00
Foxandxss 94f5609506 add rc4 versions 2016-06-30 12:40:59 -07:00
Foxandxss 55af9fee49 fix upgrade tests to not use deprecated API 2016-06-30 12:40:01 -07:00
Filipe Silva aa8ab52937 chore: update to rc.4 2016-06-30 12:40:01 -07:00
Rex fa9e83358c review(toh-pt6): done. 2016-06-30 20:35:04 +01:00
Naomi Black 509cae50a6 news(june30): updates to the news page for the week of june 30 2016-06-30 12:34:58 -07:00
eltronix 19d2e4ef4c Fixed typo 2016-06-30 11:51:53 -07:00
Zhimin YE (Rex) 43f400487e docs(router): explicit explaination of terminal property 2016-06-30 11:51:39 -07:00
Filipe Silva 387f7c6dd2 chore(deps): update in-memory-web-api 2016-06-30 11:50:43 -07:00
Karan Gandhi 461213996e docs(toh-5/ts): Minor error fixed.
There are no leading slashes in the path.
2016-06-30 11:49:52 -07:00
Eric Jimenez 868abbe5c7 new style with new schema 2016-06-30 12:36:14 -04:00
Eric Jimenez 4a5f074061 add placeholder text when no description is found 2016-06-30 12:28:39 -04:00