Go to file
Meligy aeed7373af fix(compiler-cli): avoid handling functions in loadChildren as lazy load routes paths
The change avoids the compiler CLI internal API from mismatching the following case as lazy loading

```
import { NonLazyLoadedModule } from './non-lazy-loaded/non-lazy-loaded.module';

export function getNonLazyLoadedModule() { return NonLazyLoadedModule; }

export const routes = [
{ path: '/some-path', loadChildren: getNonLazyLoadedModule }
];
```

The output of the check is later passed to `RouteDef.fromString()`, so, it makes sense to be only a string.

Fixes angular/angular-cli#3204
2017-01-10 14:31:45 -05:00
.github
docs
modules fix(compiler-cli): avoid handling functions in loadChildren as lazy load routes paths 2017-01-10 14:31:45 -05:00
scripts fix(language-service): support TypeScript 2.1 (#13655) 2017-01-05 11:34:42 -08:00
tools fix(core): Add type information to differs 2017-01-09 18:56:34 -05:00
.bowerrc
.clang-format
.editorconfig
.gitattributes
.gitignore
.nvmrc
.travis.yml chore(ci): re-enable browserstack tests in ci 2016-10-20 10:01:51 -07:00
CHANGELOG.md docs(changelog): cherry-pick 2.4.2 release notes into the master branch 2017-01-06 12:57:54 -08:00
COMMITTER.md
CONTRIBUTING.md docs(contributing): fix styleguide link and typos (#13198) 2016-12-05 10:25:20 -08:00
DEVELOPER.md docs(developer): add linting section and correct command to verify API changes 2017-01-03 14:08:52 -08:00
LICENSE
NAMING.md
README.md
SAVED_REPLIES.md
TOOLS.md
TRIAGE_AND_LABELS.md doc: update triage owners for language service and router (#13325) 2016-12-08 15:42:34 -08:00
bower.json
browser-providers.conf.js ci(browser providers): update browsers in SL and BS (#13431) 2016-12-13 11:32:31 -08:00
build.sh fix(language-service): update to use `CompilerHost` from compiler-cli (#13189) 2016-12-02 14:34:16 -08:00
circle.yml fix(ci): pin version of npm on CircleCI (#12954) 2016-11-17 17:27:51 -08:00
gulpfile.js chore(lint): extend linting to all modules and tools 2016-10-31 14:24:27 -07:00
karma-js.conf.js fix(upgrade): fix `registerForNg1Tests` (#13522) 2016-12-16 15:14:16 -08:00
npm-shrinkwrap.clean.json chore(tslint): update tslint to 4.x (#13603) 2016-12-27 14:55:58 -08:00
npm-shrinkwrap.json chore(tslint): update tslint to 4.x (#13603) 2016-12-27 14:55:58 -08:00
npm-shrinkwrap.readme.md chore(lint): replace gulp check-task with tslint no-jasmine-focus rule 2016-10-28 15:53:15 -07:00
package.json chore(release): cut the 4.0.0-beta.2 release 2017-01-05 16:58:31 -08:00
protractor-e2e.conf.js
protractor-examples-e2e.conf.js refactor: format and lint code 2016-12-12 11:30:25 -08:00
protractor-perf.conf.js
publish-packages.sh fix: display framework version on bootstrapped component (#13252) 2016-12-06 16:21:07 -08:00
shims_for_IE.js
test-main.js fix: correctly show error when karma fails to load 2017-01-06 19:30:09 -05:00
test.sh refactor(compiler): remove unneeded fields from metadata 2016-11-28 15:19:23 -08:00
tslint.json build(tslint): enable no-inner-declarations (#13316) 2016-12-08 13:46:08 -08:00

README.md

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

Sauce Test Status
Safari (7+), iOS (7+), Edge (14) and IE mobile (11) are tested on BrowserStack.

Angular

Angular is a development platform for building mobile and desktop web applications. This is the repository for Angular 2 Typescript/JavaScript (JS).

Angular2 for Dart can be found at dart-lang/angular2.

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.