ngCourse2
ngCourse2 copied to clipboard
Update service to a getter method rather than direct reference
https://angular-2-training-book.rangle.io/handout/bootstrapping/bootstrapping_providers.html
In above section, the code calls a service and interacts with the variable direct instead define a getter method.