* No longer builds the example e2e tests using "tsc". The examples are now built with Bazel and can therefore be built with Ivy by using the `--define=compile=aot` switch. * No longer runs the example e2e tests using the protractor CLI. example e2e tests are executed with the Bazel protractor rule and can therefore run incrementally. NOTE: Unit tests found within the examples are still running within the legacy jobs. PR Close #28402
		
			
				
	
	
		
			30 lines
		
	
	
		
			846 B
		
	
	
	
		
			TypeScript
		
	
	
	
	
	
			
		
		
	
	
			30 lines
		
	
	
		
			846 B
		
	
	
	
		
			TypeScript
		
	
	
	
	
	
/**
 | 
						|
 * @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 {APP_BASE_HREF} from '@angular/common';
 | 
						|
import {Component, NgModule} from '@angular/core';
 | 
						|
import {BrowserModule} from '@angular/platform-browser';
 | 
						|
 | 
						|
import {HashLocationComponent} from './hash_location_component';
 | 
						|
import {PathLocationComponent} from './path_location_component';
 | 
						|
 | 
						|
@Component({
 | 
						|
  selector: 'example-app',
 | 
						|
  template: `<hash-location></hash-location><path-location></path-location>`
 | 
						|
})
 | 
						|
export class AppComponent {
 | 
						|
}
 | 
						|
 | 
						|
@NgModule({
 | 
						|
  declarations: [AppComponent, PathLocationComponent, HashLocationComponent],
 | 
						|
  providers: [{provide: APP_BASE_HREF, useValue: '/'}],
 | 
						|
  imports: [BrowserModule],
 | 
						|
})
 | 
						|
export class AppModule {
 | 
						|
}
 |