ng-click not firing in AngularJS while onclick does

前端 未结 7 565
余生分开走
余生分开走 2020-12-15 04:56

I am trying to use AngularJS in my application and have been successful to some extent.

I am able to fetch data and display it to the user. And I have a button in

7条回答
  •  -上瘾入骨i
    2020-12-15 05:33

    The deleteRecord method should be assigned in the current and correct scope

    $scope.deleteRecord = function(){
    ....
    

提交回复
热议问题