Initial commit: Aeroflot Flights Web Angular 12 application
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
import { Component, OnInit } from '@angular/core';
|
||||
import { UserLocationService } from '@shared/services/user-location/user-location.service';
|
||||
|
||||
@Component({
|
||||
selector: 'flights-root',
|
||||
templateUrl: './app.component.html',
|
||||
})
|
||||
export class AppComponent implements OnInit {
|
||||
constructor(private userLocation: UserLocationService) {}
|
||||
|
||||
ngOnInit() {
|
||||
this.userLocation.locate();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user