I am following a tutorial but I got into a problem. it is not a server problem. I tried a lot of things and I know google is my friend but I have google a lot so I figure I could ask the question.
I was able to display something in the frontend but at some point it stops displaying and it shows just my html syntax, I have the serve running all the time so I do not know whats the problem. Do you know how to solve the issue?
app.component.html file
<h1>
{{title}}
</h1>
app.component.ts file
import { Component } from '@angular/core';
@Component({
selector: 'app-root',
templateUrl: './app.component.html',
styleUrls: ['./app.component.css']
})
export class AppComponent {
title = 'app works!';
}
output:
{{title}}
i made it more simpler but still having the same issue.