javascript - add a edit button and a delete button -
i have created student registration system using angularjs.when fill form , click add add student table , have make link using $routeprovider see list of students registered , need edit details of added student.i have provided link name edit in each row of registered students how can it.
when link clicked need open form filled existing details in relevant fields. how can i??
you should give work more detail, think link https://docs.angularjs.org/tutorial/step_07
... phonecatapp.config(['$routeprovider', function($routeprovider) { $routeprovider. when('/phones', { templateurl: 'partials/phone-list.html', controller: 'phonelistctrl' }). when('/phones/:phoneid', { templateurl: 'partials/phone-detail.html', controller: 'phonedetailctrl' }). otherwise({ redirectto: '/phones' }); }]);
Comments
Post a Comment