...
/AJAX Requests and Importing Modules in Angular Applications
AJAX Requests and Importing Modules in Angular Applications
Let's see how we can work with AJAX requests using "HttpClient" and add modules in an Angular application.
We'll cover the following...
AJAX requests
Angular provides its own client for working with AJAX requests. In fact, it provides two such clients. The original one, Http
, is deprecated. It had a solid core, but interacting with it was clunky and repetitive. The new tool, HttpClient
brings several advantages.