angular-docs-cn/tools
Tobias Bosch efbd446d18 refactor(core): add `Query.read` and remove `DynamicComponentLoader.loadIntoLocation`.
This adds the feature for `@ViewChild`/`@ViewChildren`/`@ContentChild`/`@ContentChildren` to define what to read from the queried element.

E.g. `@ViewChild(`someVar`, read: ViewContainerRef)` will locate the element with a variable `someVar` on it and return a `ViewContainerRef` for it.

Background: With this change, Angular knows exactly at which elements there will be `ViewConainerRef`s as the user has to ask explicitly of them. This simplifies codegen and will make converting Angular templates into server side templates simpler as well.

BREAKING CHANGE:
- `DynamicComponentLoader.loadIntoLocation` has been removed. Use `@ViewChild(‘myVar’, read: ViewContainerRef)` to get hold of a `ViewContainerRef` at an element with variable `myVar`.
- `DynamicComponentLoader.loadNextToLocation` now takes a `ViewContainerRef` instead of an `ElementRef`.
- `AppViewManager` is renamed into `ViewUtils` and is a mere private utility service.
2016-04-20 11:28:00 -07:00
..
analytics chore(): remove all angular2_material code. 2016-03-16 13:37:37 -07:00
broccoli feat(tests): manage asynchronous tests using zones 2016-04-18 15:59:07 -07:00
build fix(build): ignore Dart warnings for external code. 2016-04-20 10:51:58 -07:00
cjs-jasmine feat(tests): manage asynchronous tests using zones 2016-04-18 15:59:07 -07:00
code.angularjs.org chore(publish): add Rx bundles to code.angularjs.org publish step 2015-12-15 17:12:42 +00:00
karma fix(build): fix source maps 2015-11-24 19:33:27 +00:00
metadata revert(format): Revert "chore(format): update to latest formatter" 2016-04-12 09:41:01 -07:00
npm build(npm): add tools/npm/reshrinkwrap script and update docs 2016-01-22 03:25:33 +00:00
public_api_guard refactor(core): add `Query.read` and remove `DynamicComponentLoader.loadIntoLocation`. 2016-04-20 11:28:00 -07:00
travis build(travis): add travis log folding for verbose tasks 2015-10-03 21:33:57 +00:00
tslint revert(format): Revert "chore(format): update to latest formatter" 2016-04-12 09:41:01 -07:00
check-environment.js build(gulp): fail hard w/ legacy node version and provide clear upgrade instructions 2016-01-22 03:25:34 +00:00
chromedriverpatch.js chore(testing): update protractor to version 2.1.0 2015-05-20 17:28:23 -07:00
jsconfig.json chore(vscode): add jsconfig.json and remove .settings dir 2015-10-29 13:53:21 +00:00
tsconfig.json chore(typescript 1.6 upgrade): fix build.tools 2015-09-25 20:15:55 +00:00
tsd.json chore(typings): use mainline DefinitelyTyped repo rather than a fork. 2016-02-04 22:42:40 +00:00
utils.inc feat(bundle): add script to push bundles to code.angularjs.org 2015-04-14 14:50:53 -07:00