...

/

Consuming REST API for the Edit and Delete Functionality

Consuming REST API for the Edit and Delete Functionality

Learn to edit and delete in Angular.

Consuming the Edit API

To consume the REST API for the edit functionality, we implement the code below:

{
  // For more information, visit: https://go.microsoft.com/fwlink/?linkid=827846
  "recommendations": ["angular.ng-template"]
}
Edit course functionality.

Below is a summary of the code above:

  1. We start by importing Router in line 2. We then inject it into the constructor in line 17.
  2. In line 43
...