Vikram Subramanian
606b76d9bb
chore(compiler-cli): Move calculateEmitPath into CompilerHost ( #13904 )
...
This is so that it can be overriden in an environment specific CompilerHost(like within Google) to customize the output paths.
PR Close #13904
2017-01-18 18:21:09 -06:00
Marc Laval
3d0b1b8184
fix(common): support numeric value as discrete cases for NgPlural ( #13876 )
...
PR Close #13876
2017-01-18 18:20:56 -06:00
Matias Niemelä
261fd16780
fix(animations): fix internal jscompiler issue and AOT quoting ( #13798 )
...
CL #143630929
PR Close #13798
2017-01-18 18:20:47 -06:00
José Nicodemos Maia Neto
104cc42f6d
docs(http): Spelling Fix #13867
2017-01-18 18:20:30 -06:00
Meligy
313683f6f3
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-11 11:35:23 -08:00
Pawel Kozlowski
338be6d6a5
refactor(common): remove some facade usages
2017-01-11 11:34:03 -08:00
Victor Berchet
4b56f79328
refactor(test): <template>/<ng-container>/*-directives
...
- remove outer `<div>` in tests,
- use `<ng-container>` instead of `<template>` where possible,
- use *... instead of template (tag or attr) where possible.
Fixes #13816
2017-01-11 11:33:30 -08:00
Victor Berchet
d7f2a3c71b
fix(i18n): translate attributes inside elements marked for translation
2017-01-10 17:15:42 -08:00
Victor Berchet
1c929ae244
docs(NgPlural): fix API docs
...
Fixes #13786
2017-01-10 16:51:52 -08:00
Victor Berchet
83d0ff6d13
refactor(Compiler): misc cleanup
2017-01-10 16:50:20 -08:00
Dzmitry Shylovich
61ba223c1a
fix(router): throw an error when navigate to null/undefined path
...
Closes #10560
Fixes #13384
2017-01-09 18:55:31 -05:00
Meligy
6164eb25f3
fix(compiler-cli): add support for more than 2 levels of nested lazy routes
...
This change adds Compiler CLI support for any level of nesting for lazy routes.
For example `{app-root}/lazy-loaded-module-1/lazy-loaded-module-2/lazy-loaded-module-3`
Where `lazy-loaded-module-3` is lazy loaded from `lazy-loaded-module-2`,
and `lazy-loaded-module-2` is lazy loaded from module `lazy-loaded-module-1`,
and `lazy-loaded-module-1` is lazy loaded from `AppModule`
Fixes angular/angular-cli#3663
2017-01-09 18:06:26 -05:00
Chuck Jazdzewski
5e9d3dba3a
fix(compiler): avoid evaluating arguments to unknown decorators
...
Fixes #13605
2017-01-09 18:06:11 -05:00
Victor Berchet
16922655ca
fix(Router): fix checking for object intersection
2017-01-09 18:06:03 -05:00
Victor Berchet
7dc12b93fe
fix(Compiler): fix template binding parsing (*directive="-...")
...
fixes #13800
2017-01-09 16:50:14 -05:00
Dzmitry Shylovich
1c82b58185
fix(router): RouterLink mirrors input target as attribute
...
Closes #13837
2017-01-09 16:50:06 -05:00
Misko Hevery
d6c414c08f
fix: correctly show error when karma fails to load
2017-01-09 16:49:01 -05:00
Igor Minar
d25d1730c7
chore(tsc-wrapped): bump version number to 0.5.1
2017-01-06 12:46:07 -08:00
Chuck Jazdzewski
56b4296a09
fix(language-service): support TypeScript 2.1 ( #13655 )
...
@angular/language-service now supports using TypeScript 2.1 as the
the TypeScript host. TypeScript 2.1 is now also partially supported
in `ngc` but is not recommended as Tsickle does not yet support 2.1.
2017-01-06 11:00:12 -08:00
Matias Niemelä
f1cde4339b
fix(core): animations no longer silently exits if the element is not apart of the DOM ( #13763 )
2017-01-06 11:00:12 -08:00
Matias Niemelä
b245b920a6
fix(core): animations should blend in all previously transitioned styles into next animation if interrupted ( #13148 )
2017-01-06 11:00:12 -08:00
Victor Berchet
f47a71689c
refactor: remove unused imports
2017-01-06 11:00:11 -08:00
Victor Berchet
6be55cc214
fix(Common): allow null/undefined values for NgForTrackBy
...
Reverts a breaking change introduced in 2.4.1 by #13420
fixes #13641
2017-01-06 11:00:11 -08:00
Dzmitry Shylovich
504199cf5a
docs(common): add an example how to bind multiple classes based on a single parameter ( #13779 )
...
Closes #13778
2017-01-06 11:00:11 -08:00
Dzmitry Shylovich
17c5fa9293
fix(forms): Validators.required properly validate arrays ( #13362 )
...
Closes #12274
2017-01-06 11:00:11 -08:00
Dzmitry Shylovich
5f49c3ed23
fix(common): do not override locale provided on bootstrap ( #13654 )
...
Closes #13607
2017-01-06 11:00:11 -08:00
William KOZA
21f5f05893
fix(core): Remove reference to "Angular 2" in dev mode warning ( #13751 )
2017-01-06 11:00:11 -08:00
Jon Walsh
f2ee81fa7a
Typo ( #13698 )
2017-01-06 11:00:11 -08:00
Emanuel Hein
ae1029da35
docs(Http): fix and extend samples for testing/MockBackend ( #13689 )
...
Fix samples for MockBackend and MockBackend.connections that were outdated. Also extend central sample for MockBackend to ease getting started.
2017-01-06 11:00:10 -08:00
Tobias Bosch
230e33f3f1
fix(compiler): don’t throw when using ANALYZE_FOR_ENTRY_COMPONENTS with user classes ( #13679 )
...
Fixed #13565
2017-01-05 21:21:33 -08:00