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

How to understand 2 main() functions after using uftrace to profile the C++ program? -

c# - Update a combobox from a presenter (MVP) -

How to put a lock and transaction on table using spring 4 or above using jdbcTemplate and annotations like @Transactional? -