Connecting to a mssql Server


I’d like to connect to a mssql Database from the ionic Framework. How can this be done?
Is it only possible via http-server access?


You need to write web api.

and use $http service for access.

as far as i know.


Thank you very much for your Reply. I hoped there were some other support than web API.
I found this topic:

which already states me to the REST API.
So does anybody know if there is someting like a plugin which allows direct mssql access without any web api?


I know this thread is really old, but someone might end up coming here, as I did.

this guy solved my problem: