Skip to content

Instantly share code, notes, and snippets.

@debugmodedotnet
Last active August 10, 2022 11:15
Embed
What would you like to do?
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