Ionic tabs with dynamic lists

Hi,
I create an ionic project with tabs that displays dynamic list using this code in services.js:

.factory(‘Interventions’, function($http) {
var interventions = {};
$http({
method: ‘POST’,
url: ‘http://172.20.1.1/list.php
}).
success(function(data, status, headers, config) {
interventions = data;
});
return {
all: function() {
return interventions;
},
get: function(iid) {
return interventions[iid];
}
}
})

The problem is that my application didn’t display the list at first when I load the page but only when i refresh it (with doRefresh) or when i go to other tab and back to the first one.
Is there a solution to fix that ?
Thank you in advance