How to create the API for the remote database connectivity in ionic…?
you create your own api on your server. the server communicates with the database
then you can call the api in Ionic. Since ionic uses AngularJS you can do http requests to your server