Here, In Ionic, I've used ng-if to display 4 input boxes per page and clicking next will display the next 4 text boxes. However ng-model fails to pick value if ng-if is added. Othwerwise it perfectly works fine. How to substitute ng-if?
<div class="list">
<div ng-if="form1">
<label class="item item-input">
<span class="input-label" style="font-size:13px">BILL NO</span>
<input type="text" ng-model="regSale.billNo">
</label>
<label class="item item-input">
<span class="input-label" style="font-size:13px">BILL DATE</span>
<input type="text" ng-model="regSale.billDate">
</label>
<label class="item item-input">
<span class="input-label" style="font-size:13px">CUSTOMER NAME</span>
<input type="text" ng-model="regSale.custName">
</label>
<label class="item item-input">
<span class="input-label" style="font-size:13px">STATE</span>
<input type="text" ng-model="regSale.state">
</label>
<button class="button icon button-block button-royal" ng-click="callForm2()">Next</button>
</div>
</div>
<div ng-if="form2">
<label class="item item-input">
<span class="input-label" style="font-size:13px">DISTRICT</span>
<input type="text" ng-model="regSale.district">
</label>
<label class="item item-input">
<span class="input-label" style="font-size:13px">HOUSE NO.</span>
<input type="text" ng-model="regSale.houseNo">
</label>
<label class="item item-input">
<span class="input-label" style="font-size:13px">STREET</span>
<input type="text" ng-model="regSale.street">
</label>
<label class="item item-input">
<span class="input-label" style="font-size:13px">TEHSIL</span>
<input type="text" ng-model="regSale.tehsil">
</label>
<div class="row">
<div class="col col-50">
<button class="button icon button-block button-calm" ng-click="callForm1()">Back</button>
</div>
<div class="col col-50">
<button class="button icon button-block button-royal" ng-click="callForm3()">Next</button>
</div>
</div>
</div>
<div ng-if="form3">
<label class="item item-input">
<span class="input-label" style="font-size:13px" >CITY/TOWN</span>
<input type="text" ng-model="regSale.city" >
</label>
<label class="item item-input">
<span class="input-label" style="font-size:13px" >PINCODE</span>
<input type="text" ng-model="regSale.pincode">
</label>
<label class="item item-input">
<span class="input-label" style="font-size:13px">CONTACT</span>
<input type="text" ng-model="regSale.contact" >
</label>
<label class="item item-input">
<span class="input-label" style="font-size:13px">PRODUCT</span>
<input type="text" ng-model="regSale.product" >
</label>
<div class="row">
<div class="col col-50">
<button class="button icon button-block button-calm" ng-click="callForm2()">Back</button>
</div>
<div class="col col-50">
<button class="button button-block button-positive" ng-click="signIn(regSale)">
Sign-In
</button>
</div>
</div>
</div>