What is the use of http interceptor?
Answer / Tara Datt Joshi
An HTTP interceptor in AngularJS is used to intercept HTTP requests and responses. Interceptors can be used for modifying outgoing requests (e.g., adding or removing headers) or transforming incoming responses. They are useful for implementing global functionality like logging, error handling, and authentication.
| Is This Answer Correct ? | 0 Yes | 0 No |
What are types in typescript?
Explain filter filter?
What is class binding in angular?
Can you bootstrap multiple angular applications on same element?
Why $scope is used in angularjs?
Explain two-way binding in angularjs?
Differentiate between dom and bom.
How to bypass angular xss protection?
How will you implement autorefresh in angularjs?
What is the key difference between angular expressions and javascript expressions?
Does angularjs need a server?
Explain what is string interpolation in angular.js ?