Ionic and sql server

I am thinking of building a bible app using ionic but how can i integerate it with sql server for sorting, filtering and so more…

any idea mail me on ollypapi1@gmail.com