InterviewSolution
Saved Bookmarks
| 1. |
What is use of subscribe in Angular 2? |
|
Answer» The subscribe() function is observable in Angular 2 which defines how to OBTAIN or generate values or messages to be published. To execute a particular observable in a timely fashion, you will have to create NOTIFICATIONS using the subscribe() method. 77. What is entry component in Angular 2?An entry component in Angular is one that loads imperatively, i.e it can be loaded without any referenced in the template, by any type or CATEGORY. One can specify an entry component by either BOOTSTRAPPING it as a NgModule or even in a routing definition. |
|