Ionic UI Not UPDATING / Refreshing value of $scope Variable {{var}}


#1

Hello.
I have created a simple application having SqLite database, I am retrieving single variable “lastname”
$scope.rows = getRowsFromDataBase(); It does not show the value on SCREEN I am using “ion-list”.

Thanks in advance

<ion-list show-reorder = "true" ng-click="testClick(rows[0].lastname)"> <ion-item> <input type="text" ng-model="rows[0].lastname" placholder="Data"> {{rows[0].lastname}} </ion-item> </ion-list>