Hi everyone.
I have a problem with using ng-model with 2 ion-scroll within the same controller.
My first code which was working:
Html:
<ion-content ng-controller="CalculatorCtrl">
<div ng-repeat="item in items | filter: something ">
{{ item.stage }}
</div>
<input type="radio" name="group" ng-model="something" value="value1">
<input type="radio" name="group" ng-model="something" value="value2">
</ion-content>
</ion-view>
However, if i include ion-scroll to separate it into 2 scroll views, filter is not working.
Html:
<ion-content ng-controller="CalculatorCtrl">
<ion-scroll>
<div ng-repeat="item in items | filter: something ">
{{ item.stage }}
</div>
</ion-scroll>
<ion-scroll>
<input type="radio" name="group3" ng-model="something" value="value1">
<input type="radio" name="group3" ng-model="something" value="value2">
</ion-scroll>
</ion-content>
</ion-view>
Please help…