Problem with controller to screen data synchronization


#1

Hi all,

i’m beginner on ionic framework, i’m passing for problem with data synchronization, the interface call a function on controller, this function remove a item of a array lupulos, which is vinculed by angular ng-repeat=“lupulo in lupulos”, but, when a list of a item it’s removed of a local database with success, it’s made a spllice to remove a item from lupulos, the item is removed from controlller, but in the screen, the record still there, it’s only disappear when i make some interaction in a screen, click in another item of a list, or leave the screen and return for example. how i make this refresh automatically? it was no longer to operate automatically?

thanks