Skip to content

Instantly share code, notes, and snippets.

@zzpzaf
Created July 15, 2024 06:52
Show Gist options
  • Save zzpzaf/a01d5774ec40be66d399ebdcfdf744f7 to your computer and use it in GitHub Desktop.
Save zzpzaf/a01d5774ec40be66d399ebdcfdf744f7 to your computer and use it in GitHub Desktop.
signals-data-sharing-app.component-class-1
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