TRAINING CATEGORIES
TRAINING PROGRAMS
ng generate component my-component
// my-component.component.ts import { Component } from '@angular/core'; @Component({ selector: 'app-my-component', template: '<p>This is my component!</p>', styleUrls: ['./my-component.component.css'] }) export class MyComponent { }
@Component({ selector: 'app-my-component', // ... })
@Component({ // ... template: '<p>{{ greeting }}</p>' })
@Component({ // ... styleUrls: ['./my-component.component.css'] })
We use cookies to make interactions with our websites and services easy and meaningful. Please read our Privacy Policy for more details.
AND GET