diff --git a/projects/project-3/frontend/src/app/app.component.ts b/projects/project-3/frontend/src/app/app.component.ts index 0c5a793..ecb61f9 100644 --- a/projects/project-3/frontend/src/app/app.component.ts +++ b/projects/project-3/frontend/src/app/app.component.ts @@ -1,4 +1,5 @@ -import { Component } from '@angular/core'; +import {Component} from '@angular/core'; +import {Title} from '@angular/platform-browser'; @Component({ selector: 'app-root', @@ -6,5 +7,8 @@ import { Component } from '@angular/core'; styleUrls: ['./app.component.scss'] }) export class AppComponent { - title = 'frontend'; + + public constructor(private title: Title) { + this.title.setTitle('Bike Stations in London'); + } } diff --git a/projects/project-3/frontend/src/app/dashboard/dashboard.component.html b/projects/project-3/frontend/src/app/dashboard/dashboard.component.html index 4b176ae..68eff0b 100644 --- a/projects/project-3/frontend/src/app/dashboard/dashboard.component.html +++ b/projects/project-3/frontend/src/app/dashboard/dashboard.component.html @@ -1,6 +1,6 @@ - + - +