Go to file
Peter Bacon Darwin adef68b4d6 refactor(angular_1_router): remove directiveIntrospector
The directiveIntrospector was a bit of a hack to allow the router to
read the `$routeConfig` annocation and `$routerCanActivate` hook from
directives when they were registered.

It turns out that if we put these properties on the component controller's
constructor function (i.e. as static class methods) then we can simply
use the `$injector` to access it as required.

Currently, people put the properties directly on their component definition
objects. In Angular 1.5.1, we will copy these properties onto the controller
constructor to maintain a simple migration path. But going forward it may be
better to encourage people to add the properties directly to the controller
constructor.
2016-03-09 21:50:24 +00:00
.github chore: add github issue / pr template 2016-03-03 14:06:11 -08:00
modules refactor(angular_1_router): remove directiveIntrospector 2016-03-09 21:50:24 +00:00
modules_dart chore: fix DDC errors / warnings 2016-03-08 22:17:32 +00:00
scripts chore: fix DDC errors / warnings 2016-03-08 22:17:32 +00:00
tools chore: fix DDC errors / warnings 2016-03-08 22:17:32 +00:00
typing_spec fix(angular2): remove `angular2.ts` module 2015-12-11 14:21:33 -08: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 ci(travis): simplify job status reporting 2016-03-05 19:54:22 +00:00
CHANGELOG.md docs(changelog): update change log to beta 8 2016-03-02 11:32:38 -08: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 docs(tools): fix import statement in the example 2015-12-04 18:14:05 +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(travis): remove problematic chromebeta target for now 2016-02-19 10:43:59 -08:00
circle.yml fix(circle): pre-dependencies `npm install npm` 2016-02-01 11:26:25 -08:00
gulpfile.js chore(test): migrate Dart tests to package:test 2016-03-04 02:27:44 +00:00
karma-js.conf.js build(sauce/bs): make some browsers required in CI 2016-01-04 22:30:48 +00:00
npm-shrinkwrap.clean.json chore: fix DDC errors / warnings 2016-03-08 22:17:32 +00:00
npm-shrinkwrap.json chore: fix DDC errors / warnings 2016-03-08 22:17:32 +00: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 chore: fix DDC errors / warnings 2016-03-08 22:17:32 +00: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-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 feat(test): allow tests to specify the platform and application providers used 2016-01-13 02:11:06 +00: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.