106 Commits

Author SHA1 Message Date
Appie
8e2c3d3d99 docs(router): add missing backstick (#3211) 2017-02-08 21:04:59 +01:00
Appie
88da94e1f4 docs(router): add missing backstick (#3210) 2017-02-08 21:04:04 +01:00
Deborah Kurata
d35dab25cc docs(router): fix misspelling (#3212) 2017-02-07 20:52:25 +01:00
Josh Schneider
905733593b docs (router): fix type in router.jade (#3205)
Fix "Since the admin dashboard RouterLink is an empty path route in the AdminModule," ... "AdminModule" s/b "AdminComponent," AFICT.
2017-02-06 18:59:21 -08:00
Kanstantsin Klimashevich
eb372a9b39 docs(router): fix Router.forRoot -> RouterModule.forRoot (#3172) 2017-02-05 23:25:05 +01:00
Josh Schneider
b021012a9b Fix typo in router.jade (#3183) 2017-02-02 17:43:48 -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
Patrice Chalin
b793d1d531 docs(router): copyedits and moved code excerpt earlier (#3133)
- Copyedits
- Link directly to APP_BASE_HREF API entry, no need for a callout.
- Put dragon-anchor routerLink example *before* the detailed bulleted
list that analyzes it.
2017-01-26 22:12:18 +00:00
Jesús Rodríguez
35bbeb2e01 chore: s/falsey/falsy (#3093) 2017-01-13 21:01:51 -08:00
Ward Bell
ce174a26fb docs(router): chalin router copyedits #3054 (#3060)
* docs(router): chalin copyedits
* docs(router): bell copy edits + routing module order & inspect config
2017-01-01 00:25:52 -08:00
Patrice Chalin
ec2b07ef8c docs(router): copyedits (#3025) 2016-12-21 23:20:21 -08:00
Ward Bell
bc91b35bd9 docs(router): heavy copy edits (#3021) 2016-12-21 12:08:39 -08:00
Brandon
397c337378 docs(router): Added section for named outlets and secondary routes (#2842) 2016-12-20 15:26:09 -08:00
Brandon
a74f8fb3b1 docs(router): Added wildcard route to live example (#2897) 2016-12-20 13:35:06 -08:00
Ward Bell
5e3807615d docs(router): fix typo originally identified by PR #2945 (#2962) 2016-12-12 22:30:59 -08:00
Shai Reznik
2b1df0487d docs(router): fix a typo (#2958) 2016-12-12 21:57:19 -08:00
Shai Reznik
38b22eee62 docs(router): fix typo (#2959) 2016-12-12 21:56:48 -08:00
Victor Berchet
cf97326344 fix(router): fix Resolve docs and Resolve.resolve signature (#2954) 2016-12-09 05:56:14 -08:00
Ward Bell
79dc1f2dc8 chore: use common instructions for popping out plunker window-button (#2886)
To see the browser title or address bar changes.
Instructions are a little more complicated when the plunker is in embedded style
2016-11-28 21:23:28 -08:00
Rodrigo Quesada
fd9a331127 Corrected RouterOutlet description (#2856)
<router-outlet> does not wrap the views, the views are inserted next to it, not within.
2016-11-28 13:37:06 -08:00
Kenny John Jacob
7febba6209 docs(router): fix missing anchor id (#2817)
The link *Importing from the router library* (https://angular.io/docs/ts/latest/guide/router.html#import) does not work.

I supposed that this was the corresponding section to be linked to.
2016-11-17 21:54:55 +01:00
Patrice Chalin
0dfda08306 docs: in links use href=foo#bar not foo#!#bar (#2807) 2016-11-15 15:36:34 -08:00
Brandon Roberts
1afe5dc97d docs(router): Updated usage of observables in router tutorial and developer guide
Moved route configuration into separate variable for consistency
Added async pipe to handle subscriptions for list items
2016-11-14 11:05:29 -08:00
Adrian Irwin
37f93bc0cb docs(router): fixed verbiage and example of how routed views are related to the router outlet 2016-11-03 17:25:55 -07:00
Ward Bell
8a3d061305 docs(router): fix grammar typo in preloader section (#2700)
tweaks some other related language.
2016-10-31 01:17:27 -07:00
Aristeidis Bampakos
32f3ed973d docs(router): Fix typos (#2666) 2016-10-31 00:55:08 -07:00
Jesús Rodríguez
b58e51a038 docs(router): broken link to DI chapter (#2662) 2016-10-25 19:52:44 +02:00
Filipe Silva
0d49fecd30 chore: update to @types (#1872)
* chore: update examples to @types
* fix toh-6 aot and add types link
2016-10-20 17:01:16 -07:00
Brandon
2f5306f1b6 docs(router): Added example of feature module pre-loading (#2595)
* added example of feature module pre-loading
* added transition aliases for route animations
2016-10-19 22:02:47 -07:00
Timothy Curchod
47b51dad68 docs(toh-pt6,guide): fix a grammatical error (#2594) 2016-10-18 15:05:56 +02:00
Matthew Hegarty
eff7e04ac3 Router typos (#2523)
* Fixed typo which was referring to 'imports' section and not 'setup' section

* Fixed 1 char typo: /he *Cancel/the *Cancel/

* Fixed broken link: router.html#optional-route-parameter (added an 's' to 'parameter')

* corrected grammar: /affords/afford/

* Fixed typo: /moved them/move them/
2016-10-05 16:15:42 -07:00
Brandon
ff118810ff docs(router): Updated routing examples to use routing modules (#2478)
Simplified routing in tutorial example

Updated ngmodule guide and ngmodule faq with routing module prose
2016-10-05 14:59:09 -07:00
Jesús Rodríguez
693f6ae462 chore: rename Angular 2 to simply Angular (#2402) 2016-09-19 20:24:40 -07:00
Sarun Intaralawan
c6cf4dc310 docs(router): add missing backticks (#2366) 2016-09-17 23:56:55 +02:00
Brandon Roberts
c15a68e591 docs(router): Added and organized more router dev guide content
Moved all heroes functionality into milestone 2
Crisis Center initial functionality is milestone 3
Admin feature module as milestone 4 including route guard examples
Updated milestone 5 to lazy load admin feature module
Added examples for CanLoad, CanActivateChildren guard, component-less routes
Added section on explanation of ActivatedRoute
Added section on animating route components
Added section on relative navigation
2016-09-14 13:46:16 -07:00
Patrice Chalin
15c50d76a2 docs(*): fix broken links in glossary and router chapter (#2279)
- Glossary: `#ecmascript=2015` is not a valid fragment.
- Router: `<a name=“…”>` needed to be `<a id=“…”>`.
2016-09-07 16:48:43 -07:00
Brandon Roberts
a35fcb4dfd chore(router): Added ModuleWithProviders to routing exports
closes #2113
2016-08-18 23:57:54 -07:00
Trotyl Yu
4f9bf774ee docs(router): Fix typo of missing symbol
closes #2111
2016-08-17 16:46:52 -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
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
Peter Bacon Darwin
d79adb2422 docs(rc5): update docs and plunkers for rc5 2016-08-09 11:48:07 -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
b93fb12fea chore(examples): Updated live example links to use helper directive
closes #2005
2016-08-05 16:41:45 -07:00
Kyle Roberts
ce8b94799c docs(Router): remove duplicate "activated"
closes #1957
2016-07-25 10:14:55 -07:00
Brandon Roberts
2e3f3e7fb1 docs(router): Minor dev guide fixes
closes #1932
2016-07-19 22:15:21 -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
Foxandxss
50b51f6bdc docs(router): fix broken links in router chapters
closes #1843
2016-07-11 21:57:15 -07:00
Brandon Roberts
5104470558 docs(router): Removed refs to deprecated router; lowerCamelCase constants
closes #1834
2016-07-11 21:44:12 -07:00
Ward Bell
d1dd2b82f4 docs(router): changes suggested by Deb Kurata in #1808 2016-07-06 01:11:34 -07:00