Created
July 15, 2024 06:52
-
-
Save zzpzaf/a01d5774ec40be66d399ebdcfdf744f7 to your computer and use it in GitHub Desktop.
signals-data-sharing-app.component-class-1
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { Component } from '@angular/core'; | |
import { RouterOutlet } from '@angular/router'; | |
import { Test1Component } from './test1/test1.component'; | |
import { Test2Component } from './test2/test2.component'; | |
@Component({ | |
selector: 'app-root', | |
standalone: true, | |
imports: [RouterOutlet, Test1Component, Test2Component], | |
templateUrl: './app.component.html', | |
styleUrl: './app.component.scss' | |
}) | |
export class AppComponent { | |
public compName = this.constructor.name.replace('_',''); | |
constructor() {} | |
// title = 'signals1'; | |
title = 'Angular 17.x Application: intermediate-service using signals'; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment