BREAKING CHANGES: Dart applications and TypeScript applications meant to transpile to Dart must now import `package:angular2/bootstrap.dart` instead of `package:angular2/angular2.dart` in their bootstrap code. `package:angular2/angular2.dart` no longer export the bootstrap function. The transformer rewrites imports of `bootstrap.dart` and calls to `bootstrap` to `bootstrap_static.dart` and `bootstrapStatic` respectively.
		
			
				
	
	
		
			33 lines
		
	
	
		
			1.4 KiB
		
	
	
	
		
			TypeScript
		
	
	
	
	
	
			
		
		
	
	
			33 lines
		
	
	
		
			1.4 KiB
		
	
	
	
		
			TypeScript
		
	
	
	
	
	
| /**
 | |
|  * @module
 | |
|  * @description
 | |
|  * Define angular core API here.
 | |
|  */
 | |
| export {appComponentTypeToken} from 'angular2/src/core/application_tokens';
 | |
| export {ApplicationRef} from 'angular2/src/core/application_common';
 | |
| 
 | |
| 
 | |
| // Compiler Related Dependencies.
 | |
| export {AppRootUrl} from 'angular2/src/services/app_root_url';
 | |
| export {UrlResolver} from 'angular2/src/services/url_resolver';
 | |
| export {ComponentUrlMapper} from 'angular2/src/core/compiler/component_url_mapper';
 | |
| export {DirectiveResolver} from 'angular2/src/core/compiler/directive_resolver';
 | |
| export {Compiler} from 'angular2/src/core/compiler/compiler';
 | |
| 
 | |
| export {AppViewManager} from 'angular2/src/core/compiler/view_manager';
 | |
| export {IQueryList} from 'angular2/src/core/compiler/interface_query';
 | |
| export {QueryList} from 'angular2/src/core/compiler/query_list';
 | |
| export {ElementRef} from 'angular2/src/core/compiler/element_ref';
 | |
| export {TemplateRef} from 'angular2/src/core/compiler/template_ref';
 | |
| export {RenderElementRef} from 'angular2/src/render/api';
 | |
| export {ViewRef, ProtoViewRef} from 'angular2/src/core/compiler/view_ref';
 | |
| export {ViewContainerRef} from 'angular2/src/core/compiler/view_container_ref';
 | |
| 
 | |
| export {
 | |
|   DynamicComponentLoader,
 | |
|   ComponentRef
 | |
| } from 'angular2/src/core/compiler/dynamic_component_loader';
 | |
| 
 | |
| export {NgZone} from 'angular2/src/core/zone/ng_zone';
 | |
| export {Observable, EventEmitter} from 'angular2/src/facade/async';
 |