How to pull json from Localhost MonogoDB to and Ionic App

Im new to ionic and angular and have a rails website running on localhost, I also have mongo running locally. So the rails website writes to the MongoDB using MongoID, I just need to pull in the json objects to be displayed in my ionic app

you need to make api for your database to communicate with your app