i have the following requirement: a list should be displayed for all items with edit and delete link. when user clicks on edit, edit form should appear with textboxes and a save
You need to inject the $location service in your editCtrl controller.
editCtrl
Then, in your save function add the following to do the redirect (note that the path matches your route).
$scope.save = function (...) { // ... $location.path('/productapp'); }
This Youtube video might also help you.