Refresh an ionic list items

Hey ,

I have a timeline in my app and I’m asking for the way to refresh it periodically ?
Any help or suggestion ?

Angular has a wonder $interval service which you could use.

// Your Ctrl


.controller('YourCtrl', function($scope, $interval){

	// Refresh every 1 second
	var refreshTimer = 1000;

	}, refreshTimer);

	$scope.doMyRefresh = function() {
		console.log('REFRESHING :)');


Hope this helps!

thank you , I’m gonna try it