Integration with TLS Server

How to integrate an Ionic App with a TLS Server and a self-signed certificate?