app.component.ts
import { Component } from '@angular/core';
@Component({
  selector: 'app-root',
  templateUrl: './app.component.html',
  styleUrls: ['./app.component.css']
})
export class AppComponent {
  name: String = "Jenny";
}
app.component.html
<h2>
    {{"Hello, I am " + name
     + "! And my name length is "
     + name.length}}
</h2>
 
- angular - How to create function
- angular - Display value using interpolation
- angular - Interpolation expression
- angular - Interpolation string concatenation
- angular bootstrap - How to prevent toggle Accordion panel
- angular bootstrap - Disable collapse close Accordion panel
- angular bootstrap - How to use Nav
- angular bootstrap - Select Nav tab on button click
- angular bootstrap - Prevent selecting a tab in Nav
- angular bootstrap - How to enable disable tab in Nav
- angular material - How to use stroked Button
- angular material - How to use flat Button
- angular material - How to use icon Button
- angular material - How to use Button toggle group
- angular material - Button toggle group multiple selection