import { bootstrapApplication } from '@angular/platform-browser';
import { Component } from '@angular/core';
@Component({
  selector: 'app-root',
  standalone: true,
  template: `
    <h3>{{ title }}</h3>
    <p>Hello {{ name }}!</p>
    <p>2 + 3 = {{ 2 + 3 }}</p>
    <p>Upper: {{ name.toUpperCase() }}</p>
  `
})
export class App {
  title = 'Templates & Interpolation';
  name = 'Angular';
}
bootstrapApplication(App);
                    
                   
              
                  
                    <!doctype html>
<html lang="en">
<head>
  <meta charset="utf-8">
  <meta name="viewport" content="width=device-width, initial-scale=1">
  <title>Angular Templates</title>
</head>
<body>
  <app-root></app-root>
</body>
</html>