[Solved] add a edit button and a delete button [closed]


You should give us your work for more detail, but I think this link will help you 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'
      });
  }]);

1

solved add a edit button and a delete button [closed]