Skip to content

Instantly share code, notes, and snippets.

@debugmodedotnet
Last active August 10, 2022 11:15
Show Gist options
  • Save debugmodedotnet/ba3e3c0449eccf981fe968158c0cb301 to your computer and use it in GitHub Desktop.
Save debugmodedotnet/ba3e3c0449eccf981fe968158c0cb301 to your computer and use it in GitHub Desktop.
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