Http get inside run section without response


Hi, i want to check the app version, the version is detected sucessfully via cordova plugin

I create a table to compare the device version against the oficial version every time the user open the app on his device, and can not get any response

I do inject $http into run

.run( function( $ionicPlatform, $ionicPopup, $http ) {

And try to get a response from the webservice

$ionicPopup.confirm({title: “2 Version”, content: " scope data : "+$ });

I did not get any response from http get, can i try anything diferent ?

The check for the version is ok

cordova.getAppVersion(function(version) {
        console.log('Version : '+version);
        appVersion = version
        console.log('appVersion : '+appVersion);
        $ionicPopup.confirm({title: "Version", content: "1. appVersion : "+appVersion })