Last active
August 10, 2022 11:15
-
-
Save debugmodedotnet/ba3e3c0449eccf981fe968158c0cb301 to your computer and use it in GitHub Desktop.
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 { Injectable } from '@angular/core'; | |
import { RootInjectorGuard } from './root-injector.guard'; | |
@Injectable({ | |
providedIn: 'root' | |
}) | |
export class AppService extends RootInjectorGuard { | |
constructor() { | |
super(AppService) | |
} | |
getData(){ | |
return "data"; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment