13 lines
		
	
	
		
			286 B
		
	
	
	
		
			JavaScript
		
	
	
	
	
	
		
		
			
		
	
	
			13 lines
		
	
	
		
			286 B
		
	
	
	
		
			JavaScript
		
	
	
	
	
	
| 
								 | 
							
								// #docregion
							 | 
						||
| 
								 | 
							
								(function(app) {
							 | 
						||
| 
								 | 
							
								  app.AppComponent = ng.core
							 | 
						||
| 
								 | 
							
								    .Component({
							 | 
						||
| 
								 | 
							
								      selector: 'my-app',
							 | 
						||
| 
								 | 
							
								      template: '<hero-form></hero-form>',
							 | 
						||
| 
								 | 
							
								      directives: [app.HeroFormComponent]
							 | 
						||
| 
								 | 
							
								    })
							 | 
						||
| 
								 | 
							
								    .Class({
							 | 
						||
| 
								 | 
							
								      constructor: function() {}
							 | 
						||
| 
								 | 
							
								    });
							 | 
						||
| 
								 | 
							
								})(window.app || (window.app = {}));
							 |