closes #1192 Updated docs and samples to beta.16. For this first time, among other things, I payed particular attention to the changes that were made on the `ts` side of things (https://github.com/angular/angular.io/pull/1178). Since I wrote it up in my notes, here is the check list of `ts` updates with notes about how there might be corresponding changes on the Dart side: - public/docs/_examples/cb-dependency-injection/ts/app/main.ts - public/docs/_examples/cb-ts-to-js/ts/app/main.ts - cb not in Dart docs yet. - public/docs/_examples/dependency-injection/ts/app/car/car-injector.ts - public/docs/_examples/dependency-injection/ts/app/injector.component.ts - Updated Dart example code to avoid null argument. - public/docs/_examples/homepage-hello-world/ts/index.1.html - public/docs/_examples/homepage-tabs/ts/index.1.html - public/docs/_examples/homepage-todo/ts/index.1.html - public/docs/_examples/package.json - N/A for Dart. - public/docs/_examples/pipes/ts/app/app.component.html - public/docs/_examples/pipes/ts/app/app.component.ts - public/docs/_examples/pipes/ts/app/exponential-strength.pipe.ts - public/docs/_examples/pipes/ts/app/fetch-json.pipe.ts - public/docs/_examples/pipes/ts/app/random-pipe.component.ts - Dart version of sample code is incomplete, but did run in beta.15. - Example no longer runs, see https://github.com/angular/angular/issues/8258 - public/docs/_examples/quickstart/js/package.1.json - public/docs/_examples/quickstart/ts/package.1.json - public/docs/_examples/router/ts/app/main.2.ts - public/docs/_examples/testing/ts/app/mock-router.ts - N/A for Dart. - public/docs/js/latest/_data.json - public/docs/ts/latest/_data.json - Dart equivalent updated. - public/docs/ts/latest/guide/dependency-injection.jade - No need to update since it imports the TS version. - public/docs/ts/latest/guide/pipes.jade - Not in Dart prose yet. - tools/plunker-builder/indexHtmlTranslator.js - N/A for Dart.
		
			
				
	
	
		
			18 lines
		
	
	
		
			431 B
		
	
	
	
		
			YAML
		
	
	
	
	
	
			
		
		
	
	
			18 lines
		
	
	
		
			431 B
		
	
	
	
		
			YAML
		
	
	
	
	
	
| # #docregion
 | |
| name: lifecycle_hooks
 | |
| description: Lifecycle Hooks
 | |
| version: 0.0.1
 | |
| environment:
 | |
|   sdk: '>=1.13.0 <2.0.0'
 | |
| dependencies:
 | |
|   angular2: 2.0.0-beta.16
 | |
|   browser: ^0.10.0
 | |
|   dart_to_js_script_rewriter: ^1.0.1
 | |
| transformers:
 | |
| - angular2:
 | |
|     platform_directives:
 | |
|     - 'package:angular2/common.dart#CORE_DIRECTIVES'
 | |
|     - 'package:angular2/common.dart#FORM_DIRECTIVES'
 | |
|     entry_points: web/main.dart
 | |
| - dart_to_js_script_rewriter
 |