Created
September 11, 2020 16:06
-
-
Save Dornhoth/b4ab89048c72fa1e6b47bcb3d0b9d29b to your computer and use it in GitHub Desktop.
Provide In root
This file contains hidden or 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'; | |
@Injectable({ | |
providedIn: 'root', | |
}) | |
export class TestService { | |
getTest(): string { | |
return 'test'; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment