Updating Users

This lesson shows you how to implement the Updating Users operation. It goes over all four aspects of the implementation and includes html, typescript, UserService, and back-end code.

While implementing the reading users feature, you may have noticed that each div we created for every element of users array had a (click) attribute assigned to it.

It defined that the function setEditUser() will be called once a certain row has been clicked.

setEditUser()

This function will map that information from clicked row to the field editUser. This information is mapped to the next section of the screen, using [(ngModel)]:

Get hands-on with 1400+ tech skills courses.