Permalink
Browse files
fix(loader): use `false` as default value for `transclude` in compone…
…nt helper The default value of for transclude in component helper is now `false`. The change is motivated by the fact that using `transclude: true` when not necessary made component unusable in conjunction with structural directives that also require transclusion such as `ng-switch-when` and `ng-repeat`. Closes #13566 Closes #13581 BREAKING CHANGE: Angular 1.5.0.beta.2 introduced the `module.component` helper where `transclude` was true by default. This changes the default for `transclude` to `false`. If you created components that expected transclusion then you must change your code to specify `transclude: true`.
- Loading branch information
Showing
with
6 additions
and 6 deletions.
- +3 −3 src/loader.js
- +3 −3 test/loaderSpec.js