Go to file
Nathan Walker b602bd8c83 refactor(Location): out of router and into platform/common
closes https://github.com/angular/angular/issues/4943

BREAKING CHANGE:

`Location` and other related providers have been moved out of `router` and into `platform/common`. `BrowserPlatformLocation` is not meant to be used directly however advanced configurations may use it via the following import change.

Before:

```
import {
  PlatformLocation,
  Location,
  LocationStrategy,
  HashLocationStrategy,
  PathLocationStrategy,
  APP_BASE_HREF}
from 'angular2/router';

import {BrowserPlatformLocation} from 'angular2/src/router/location/browser_platform_location';
```

After:

```
import {
  PlatformLocation,
  Location,
  LocationStrategy,
  HashLocationStrategy,
  PathLocationStrategy,
  APP_BASE_HREF}
from 'angular2/platform/common';

import {BrowserPlatformLocation} from 'angular2/src/platform/browser/location/browser_platform_location';
```

Closes #7962
2016-04-20 04:28:47 +00:00
.github Update ISSUE_TEMPLATE.md 2016-03-23 12:53:10 -07:00
modules refactor(Location): out of router and into platform/common 2016-04-20 04:28:47 +00:00
modules_dart refactor(view_compiler): codegen DI and Queries 2016-04-13 14:43:48 -07:00
scripts refactor(view_compiler): codegen DI and Queries 2016-04-13 14:43:48 -07:00
tools feat(tests): manage asynchronous tests using zones 2016-04-18 15:59:07 -07:00
typing_spec chore(test.typings): instrument against examples folder 2016-03-24 19:25:07 +00:00
.bowerrc chore(dgeni): clean up legacy typings bundle creation 2015-10-29 21:19:59 +00:00
.clang-format feat(tooling): Add a .clang-format for automated JavaScript formatting. 2015-04-02 08:44:34 -07:00
.editorconfig chore(.editorconfig): include markdown config 2015-01-27 00:14:48 -08:00
.gitattributes chore: add .gitattributes with new lines config 2015-01-06 18:06:13 -08:00
.gitignore fix(build): publish typings directory to our npm snapshot branch 2016-02-11 11:35:43 -08:00
.nvmrc build(node): upgrade to node 5.4.1 2016-01-22 03:25:34 +00:00
.travis.yml fix(tests): remove payload size check 2016-04-18 17:08:55 -07:00
CHANGELOG.md Add BREAKING CHANGE to CHANGELOG for b.15 2016-04-18 19:53:19 -07:00
COMMITTER.md chore(docs): update the merge process docs 2015-12-23 02:32:02 +00:00
CONTRIBUTING.md docs(CONTRIBUTING.md): clarify the difference between build and ci commit message scopes 2016-03-05 19:54:22 +00:00
DEVELOPER.md docs(developer): add linting instructions 2016-02-02 11:34:00 -08:00
LICENSE Update change from Apache to MIT license 2016-01-08 13:41:58 -08:00
NAMING.md refactor(ngProbe): rename to ng.probe 2015-08-31 21:32:10 +00:00
README.md Update README.md 2015-12-15 12:38:48 -08:00
TOOLS.md feat(docs): document change detection profiler 2015-09-04 16:38:53 -07:00
TOOLS_DART.md fix(docs): fix an import in TOOLS_DART.md 2015-12-17 23:30:44 +00:00
TOOLS_JS.md chore(core): remove @View annotation 2016-03-14 23:26:20 +00:00
TRIAGE_AND_LABELS.md chore(docs): explain the process for merging changes to master 2015-08-11 21:28:46 +00:00
bower.json fix(benchmarks): update react and polymer benchmarks and get tree update numbers for all of the benchmarks as well. 2015-10-28 13:17:01 -07:00
browser-providers.conf.js chore(build): disable broken FirefoxBeta on SauceLabs 2016-03-11 10:57:44 -08:00
circle.yml fix(circle): pre-dependencies `npm install npm` 2016-02-01 11:26:25 -08:00
gulpfile.js refactor(view_compiler): codegen DI and Queries 2016-04-13 14:43:48 -07:00
karma-js.conf.js feat(tests): manage asynchronous tests using zones 2016-04-18 15:59:07 -07:00
npm-shrinkwrap.clean.json feat(tests): manage asynchronous tests using zones 2016-04-18 15:59:07 -07:00
npm-shrinkwrap.json feat(tests): manage asynchronous tests using zones 2016-04-18 15:59:07 -07:00
npm-shrinkwrap.readme.md build(npm): add tools/npm/reshrinkwrap script and update docs 2016-01-22 03:25:33 +00:00
package.json feat(tests): manage asynchronous tests using zones 2016-04-18 15:59:07 -07:00
perf-cloud-secret.template.js refactor(build): support multiple configurable browsers for e2e and perf tests 2015-01-20 13:06:37 -08:00
protractor-dart2js.conf.js chore: rename modules/examples to modules/playground 2015-10-18 11:48:43 +00:00
protractor-ddc.conf.js chore(ddc): add e2e test infra + first test 2016-03-22 22:09:33 +00:00
protractor-js-dev.conf.js chore(test): setup a gulp task for quickly running e2e tests against the dev server 2015-06-11 16:58:32 -07:00
protractor-js-prod.conf.js chore(build): add a task to watch and render examples and e2e tests for production 2015-06-19 18:57:41 -04:00
protractor-js.conf.js Revert "chore(benchmarks): disable broken benchmarks" 2015-08-21 05:59:53 +00:00
protractor-shared.js chore(build): use Chromium in Travis for JS tests 2016-03-01 11:24:44 -08:00
pubspec.yaml chore(test): migrate Dart tests to package:test 2016-03-04 02:27:44 +00:00
test-main.js chore(): remove all angular2_material code. 2016-03-16 13:37:37 -07:00
tsconfig.json tools: updated the VS Code config 2015-07-07 08:17:58 -07:00

README.md

Build Status Join the chat at https://gitter.im/angular/angular Issue Stats Issue Stats npm version Downloads Sauce Test Status

Angular

Angular is a development platform for building mobile and desktop web applications. This is the repository for Angular 2, both the JavaScript (JS) and Dart versions.

Angular 2 is currently in Beta.

Quickstart

Get started in 5 minutes.

Want to help?

Want to file a bug, contribute some code, or improve documentation? Excellent! Read up on our guidelines for contributing and then check out one of our issues in the hotlist: community-help.