How to make app run in devices with https and not http

I need to use Accept.js in my ionic app, the problem is that is required to have a https connection in order of making the requests. There is any way of make app already compiled and installed on device to run in https:://localhost/tabs and not in http://localhost/tabs