I'm just running some basic default boiler plate code and I edited this file:
app.component.html
<input type="text" [(ngModel)]="name"> <p> {{name}} </p>
app.component.ts
import { Component } from '@angular/core'; @Component({ selector: 'app-root', templateUrl: './app.component.html', styleUrls: ['./app.component.css'] }) export class AppComponent { name = ''; }
But this literally does nothing. There is just a blank page. What am I doing wrong? This seems so basic