File

projects/Hello02/src/app/app.component.ts

Metadata

selector app-root
styleUrls ./app.component.scss
templateUrl ./app.component.html

Index

Properties

Properties

title
Type : string
Default value : 'Hello02'
import { Component } from '@angular/core';

@Component({
  selector: 'app-root',
  templateUrl: './app.component.html',
  styleUrls: ['./app.component.scss']
})
export class AppComponent {
  title = 'Hello02';
}
---Hello02---
<lib-title message="Hello App02">
</lib-title>

<a routerLink="detail">show me the service</a>
<a routerLink="detail02">show me the service on in second module</a>
<a routerLink="detail03">show me the service on in third module</a>

<router-outlet></router-outlet>

./app.component.scss

a {
  display: block;
}
Legend
Html element
Component
Html element with directive

result-matching ""

    No results matching ""