What is interceptor in angularjs?



What is interceptor in angularjs?..

Answer / Shiv Shambhu Kumar

An Interceptor in AngularJS is a service that can be used to intercept HTTP requests and responses. It allows you to modify or transform the request or response data, add headers, handle errors, etc.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More AngularJS Interview Questions

What is tree shaking?

1 Answers  


Describe the angularjs boot process.

1 Answers  


How can we share data between controllers?

1 Answers  


Explain e2e testing of angular js applications.

1 Answers  


What is $https and $log services in angularjs?

1 Answers  


What is the difference between ng-model and ng-bind in angularjs?

1 Answers  


Explain the types of linking function?

1 Answers  


What is angular module factory?

1 Answers  


What is scope hierarchy? How many scopes can an application have?

1 Answers  


What is $scope and $rootScope?

1 Answers   SLK Software,


Explain what is angular expression? Explain what is the key difference between angular expressions and javascript expressions?

1 Answers  


On which types of component can we create a custom directive?

1 Answers  


Categories