Ionic Framework with Node.js and MongoDB

I have to create application using ionic hybrid mobile framework as front end and for back end i have to use mongodb and node.js.

I have to create server.js file in local machine which is return all data from mondodb from live server.

My problem is that i have to use this data in my ionic application how can i use that.

I am confused how to start.

I think i need to create web service for that but i dont how to create it and i dont which is the url

You should know that ionic framework is based on AngularJS (front-end javascript framework).

so you must have experience on Ajax and RESTful web services then you can use AngularJS built-in $http or $resource to make requests to your node.js backend.

here is some links may help you: Javascript Ajax, AngularJS $http, AngularJS $resource

update: I recommend you to read any node.js/express rest tutorial for starters just to draw your way and consist a valid thoughts and paths http://cwbuecheler.com/web/tutorials/2014/restful-web-app-node-express-mongodb/