This change moves many APIs to the angular2/core export.
This change also automatically adds FORM_BINDINGS in
the application root injector.
BREAKING CHANGE:
Many dependencies that were previously exported from specific
APIs are now exported from angular2/core. Affected exports, which
should now be included from angular2/core include:
angular2/forms
angular2/di
angular2/directives
angular2/change_detection
angular2/bootstrap (except for dart users)
angular2/render
angular2/metadata
angular2/debug
angular2/pipes
Closes #3977
28 lines
1.0 KiB
TypeScript
28 lines
1.0 KiB
TypeScript
export * from '../lifecycle_hooks';
|
|
export * from '../src/core/metadata';
|
|
export * from '../src/core/util';
|
|
export * from '../src/core/di';
|
|
export * from '../src/core/pipes';
|
|
export * from '../src/core/facade';
|
|
// Do not export application in web_worker,
|
|
// web_worker exports its own
|
|
// export * from '../src/core/application';
|
|
export * from '../src/core/services';
|
|
export * from '../src/core/compiler';
|
|
export * from '../src/core/lifecycle';
|
|
export * from '../src/core/zone';
|
|
// Do not export render in web_worker
|
|
// export * from '../src/core/render';
|
|
// Add special import for just render API
|
|
export * from '../src/core/render/api';
|
|
export * from '../src/core/directives';
|
|
export * from '../src/core/forms';
|
|
export * from '../src/core/debug';
|
|
export * from '../src/core/change_detection';
|
|
|
|
export * from '../profile';
|
|
export * from '../src/web_workers/worker/application';
|
|
export * from '../src/web_workers/shared/client_message_broker';
|
|
export * from '../src/web_workers/shared/service_message_broker';
|
|
export * from '../src/web_workers/shared/serializer';
|