SyntaxFix
Write A Post
Hire A Developer
Questions
In Angular v2 and up it is now:
@Component({ selector:'my-app', providers: [NameService], template: ... })