javascript - angularjs error in state function used in edit module -


method passing in result

$scope.editdst = function(editdstid) {     http.get("index.php/welcome/district_edit?id=" + editdstid)       .then(function(response,result){         alert(response);         $scope.row = response.data;     })         $state.go('editdst');       // $state.go('editdst',{editdstid});  } 

in used state method

.state('editdst', {         url: '/editdst?e_id',         templateurl: 'index.php/welcome/add',          data: {            pagetitle: 'edit district'         },          controller:'dstmyctrl',            params: {               b: {}          }      }) 

but not working.


Comments

Popular posts from this blog

javascript - Confirm a form & display message if form is valid with JQuery -

Retrieving ETA (estimated time of arrival) with Google Distance Matrix API and public transit as transport mode -

android - ConstraintLayout: Realign baseline constraint in case if dependent view visibility was set to GONE -