What does a Subscribe method do in Angular 4?



What does a Subscribe method do in Angular 4?..

Answer / Akshay Srivastava

The Subscribe method in RxJS (used in Angular 4) is used to listen to an Observable sequence and execute the specified callback function whenever an event occurs or a new value is emitted.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More AngularJS Interview Questions

How can we share the data between controllers in angularjs?

1 Answers  


How to enable lazy loading in angularjs?

1 Answers  


Explain the differences between one-way binding and two-way binding.

1 Answers  


What is the difference between angular and jquery?

1 Answers  


How to get actions of event binding in angular 4?

1 Answers  


Is angular front end or backend?

1 Answers  


What variables are used with ng-repeat?

1 Answers  


What is import in angular?

1 Answers  


Define directives in angularjs.

1 Answers  


Is $http service is restful web service in angular js?

1 Answers  


Did you use scss?

1 Answers  


Name the types of linking function?

1 Answers  


Categories