AngularJS : ng-click not working

后端 未结 5 751
长发绾君心
长发绾君心 2020-12-17 07:54

I am new in AngularJs, ng-click is not working as expected. I searched on the internet , Follow the tutorial , (that was working) - but this is not working!!!

My Cod

5条回答
  •  伪装坚强ぢ
    2020-12-17 08:13

    For ng-click working properly you need define your controller after angularjs script binding and use it via $scope.

提交回复
热议问题