| 
									
										
										
										
											2016-01-11 13:49:12 +01:00
										 |  |  | //#docregion
 | 
					
						
							|  |  |  | // #docregion token
 | 
					
						
							| 
									
										
										
										
											2016-05-03 14:06:32 +02:00
										 |  |  | import { OpaqueToken } from '@angular/core'; | 
					
						
							| 
									
										
										
										
											2016-01-11 13:49:12 +01:00
										 |  |  | 
 | 
					
						
							|  |  |  | export let APP_CONFIG = new OpaqueToken('app.config'); | 
					
						
							|  |  |  | // #enddocregion token
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | //#docregion config
 | 
					
						
							|  |  |  | export interface Config { | 
					
						
							|  |  |  |   apiEndpoint: string, | 
					
						
							|  |  |  |   title: string | 
					
						
							|  |  |  | } | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | export const CONFIG:Config = { | 
					
						
							|  |  |  |   apiEndpoint: 'api.heroes.com', | 
					
						
							|  |  |  |   title: 'Dependency Injection' | 
					
						
							|  |  |  | }; | 
					
						
							|  |  |  | //#enddocregion config
 |