Open PDF or DOC file from App

Hi, I need to open a remote PDF from app and I use href for it, but when I open it, I’ve any method to close or return to app ( I’ve tried into emulator ). So: How return to APP or open into app view?

I am using:, ‘_system’, ‘location=no’);

Could you made an example with a remote file?, ‘_system’, ‘location=no’)
in here, filePath is url file pdf, doc

I tried but I’ve the same behaviour as when I open pdf file by href. I’m not able to return to app.

Do I need Cordova plugin?
I think that is not you mean $window angularjs directive. Is’t right?

1 Like

You tried emulator or device, it only working on device, because emulator not install a PDF application

I use inappbrowser plugin.