You can secure your custom backend using Auth0, and access the backend inside Ionic app using the angular2-jwt library. Take a look at https://github.com/auth0/angular2-jwt.
There's more...
Get Ionic Cookbook - Third Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.