Angular Tutorials for Beginners – Part 7 – How to Use AngularJS to Create, Update and Delete Data




Get our complete web development courses here ▻ https://www.simonsezit.com/course-category/web-development/ During AngularJS training tutorial, discover …

Original source


7 responses to “Angular Tutorials for Beginners – Part 7 – How to Use AngularJS to Create, Update and Delete Data”

  1. Thanks Simon! Want to ask something, these editings wont change my original data.json file right? I know how to get the data by http wise, but is there a video that shows how to send the edited values back?

  2. Nice video, but there is something I am unclear on. Let's say I have a database with the data you show in your example, and Priscilla Smith gets married and changes her name to Priscilla Jones. I'd like to type her new name in the input box, click the Save button, and have her name changed in the DB. The sql would look like this:

    update table set name='Priscilla Jones' where name = 'Priscilla Smith';

    In order to do that, the $scope.save function needs to know both her old name and her new name. How can I pass both names to the function? Thanks.

Leave a Reply