ngCourse2 icon indicating copy to clipboard operation
ngCourse2 copied to clipboard

Update service to a getter method rather than direct reference

Open ashwin-sureshkumar opened this issue 8 years ago • 0 comments

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.

ashwin-sureshkumar avatar Jan 19 '17 14:01 ashwin-sureshkumar