angular-cn/modules/@angular/router
Igor Minar 24eb8389d2 fix: public api surface fixes + stability markers
- ts-api-guardian will now error if a new public symbol is added with a stability marker (`@stable`, `@experimental`, `@deprecated`)
- DomEventsPlugin and KeyEventsPlugin were removed from public api surface - these classes is an implementation detail
- deprecated BROWSER_PROVIDERS was removed completely
- `@angular/compiler` was removed from the ts-api-guardian check since this package shouldn't contain anything that users need to directly import
- the rest of the api surface was conservatively marked as stable or experimental

BREAKING CHANGES: DomEventsPlugin and KeyEventsPlugin previously exported from core are no longer public - these classes are implementation detail.

Previously deprecated BROWSER_PROVIDERS was completely removed from platform-browser.

Closes #9236
Closes #9235
Ref #9234
2016-06-28 07:39:40 -07:00
..
scripts chore(router): changes the router setup to align with other modules 2016-06-21 12:17:30 -07:00
src fix: public api surface fixes + stability markers 2016-06-28 07:39:40 -07:00
test feat(router): add pathMatch property to replace terminal 2016-06-27 20:21:30 -07:00
.gitignore chore(router): update config before publishing to npm 2016-06-21 12:17:30 -07:00
CHANGELOG.md chore(router): bump up version number 2016-06-24 13:07:42 -07:00
LICENSE chore: set up test and build infrastructure 2016-06-21 12:17:30 -07:00
README.md chore(README): fix a typo 2016-06-21 12:17:30 -07:00
index.ts fix: public api surface fixes + stability markers 2016-06-28 07:39:40 -07:00
karma-test-shim.js fix(router): handle path:'' redirects and matches 2016-06-24 11:39:41 -07:00
karma.conf.js chore(router): test karma config to rerun tests on change 2016-06-21 23:19:26 -07:00
package.json chore(router): bump up version number 2016-06-24 13:07:42 -07:00
rollup.config.js chore(router): changes the router setup to align with other modules 2016-06-21 12:17:30 -07:00
tsconfig-es5.json chore(router): changes the router setup to align with other modules 2016-06-21 12:17:30 -07:00
tsconfig-es2015.json fix(router): fix tsconfig to use es2015 modules 2016-06-21 23:19:26 -07:00
tsconfig.json fix(router): top-levels do not work in ngIf 2016-06-27 13:34:54 -07:00

README.md

Angular Router

Managing state transitions is one of the hardest parts of building applications. This is especially true on the web, where you also need to ensure that the state is reflected in the URL. In addition, we often want to split applications into multiple bundles and load them on demand. Doing this transparently isnt trivial.

The Angular router is designed to solve these problems. Using the router, you can declaratively specify application state, manage state transitions while taking care of the URL, and load components on demand.

Overview

Read the overview of the Router here.

Guide

Read the dev guide here.