ionic-framework
ionic-framework copied to clipboard
$ionicPopup click an item in popup template
template code:
<a class="input-label" ng-bind="shop.des"></a>
<i class="button icon button-icon ion-plus" ng-click="shop.add()"></i>
controller code: $scope.shop.add= function() { alert(123); } the method can not work, "ng-bind=shop.des" binds normal,however the ng-click not work, is this a bug ?or ionic does not support method in $ionicPopup .
You should use a button element instead. I'd also recommend asking on the forum.
thanks