How to send data to a different angularjs app?

In the below example, how can I access the $rootScope.soemthing variable in a different angularjs app?
I am opening www/app/offline/index.html which contains a different angularjs app while the one below is called starter. How can I pass the $rootScope between different angularjs apps? I am actually initializing a plugin in ionicPlatform.ready that I want to use in my angularjs app. How can I achieve it?

var app=angular.module('starter', ['ionic']);

app.run(function($ionicPlatform, $rootScope) {
  $ionicPlatform.ready(function() {
    // Hide the accessory bar by default (remove this to show the accessory bar above the keyboard
    // for form inputs)

    $rootScope.something = "Sample!";

    // if(window.cordova && window.cordova.plugins.Keyboard) {
    //   cordova.plugins.Keyboard.hideKeyboardAccessoryBar(true);
    // }
    // if(window.StatusBar) {
    //   StatusBar.styleDefault();
    // }



    if(window.localStorage['host']){
      window.open('file:///android_asset/www/app/offline/index.html#device/android','_self')
    }
  });
});