| 
									
										
										
										
											2019-09-12 15:20:54 -07:00
										 |  |  | /** | 
					
						
							|  |  |  |  * @license | 
					
						
							|  |  |  |  * Copyright Google Inc. All Rights Reserved. | 
					
						
							|  |  |  |  * | 
					
						
							|  |  |  |  * Use of this source code is governed by an MIT-style license that can be | 
					
						
							|  |  |  |  * found in the LICENSE file at https://angular.io/license
 | 
					
						
							|  |  |  |  */ | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | import {Component} from '@angular/core'; | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | export interface Person { | 
					
						
							|  |  |  |   name: string; | 
					
						
							|  |  |  |   age: number; | 
					
						
							|  |  |  | } | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | @Component({ | 
					
						
							|  |  |  |   template: `
 | 
					
						
							|  |  |  |     <div *ngFor="let person of ~{people_1}people_1~{people_1-end}"> | 
					
						
							|  |  |  |       <span>{{person.name}}</span> | 
					
						
							|  |  |  |     </div>`,
 | 
					
						
							|  |  |  | }) | 
					
						
							|  |  |  | export class UnknownPeople { | 
					
						
							|  |  |  | } | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | @Component({ | 
					
						
							|  |  |  |   template: `
 | 
					
						
							|  |  |  |     <div ~{even_1}*ngFor="let person of people; let e = even_1"~{even_1-end}> | 
					
						
							|  |  |  |       <span>{{person.name}}</span> | 
					
						
							|  |  |  |     </div>`,
 | 
					
						
							|  |  |  | }) | 
					
						
							|  |  |  | export class UnknownEven { | 
					
						
							| 
									
										
										
										
											2019-09-19 17:04:02 -07:00
										 |  |  |   people: Person[] = []; | 
					
						
							| 
									
										
										
										
											2019-09-12 15:20:54 -07:00
										 |  |  | } | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | @Component({ | 
					
						
							|  |  |  |   template: `
 | 
					
						
							|  |  |  |     <div *ngFor="let person of people; trackBy ~{trackBy_1}trackBy_1~{trackBy_1-end}"> | 
					
						
							|  |  |  |       <span>{{person.name}}</span> | 
					
						
							|  |  |  |     </div>`,
 | 
					
						
							|  |  |  | }) | 
					
						
							|  |  |  | export class UnknownTrackBy { | 
					
						
							| 
									
										
										
										
											2019-09-19 17:04:02 -07:00
										 |  |  |   people: Person[] = []; | 
					
						
							| 
									
										
										
										
											2019-09-12 15:20:54 -07:00
										 |  |  | } |