How can i come back to local pages from remote pages inside app


I have some of the pages locally which will work without internet but some of them will browse from remote site .So i can redirect fom local pages to remote pages but no idea how to come back on local pages .

In android its showing cross origin error.while giving file:///android_asset/www/…
same problem in iphone


why no one is replying on this…

i have switching between local pages to remote pages and from local page to remote page i am able to redirect using angular state…

How can i come back from remote pages to local pages.


Set access origin as *


that is already put in config.xml file…Is any thing else we need to set??

        A sample Apache Cordova application that responds to the deviceready event.
    <author email="" href="">
        Apache Cordova Team
    <content src="index.html" />
    <access origin="*" />


Hi outerbound…is any thing else need to modify in code related to access origin??