title: AngularJS and Codeigniter - Combination & Data Transfer
body: <p>I've recently started learning AngularJS and I was thinking about creating an application using codeigniter as the backend (as an API to insert, update and delete data to a MySQL database) and AngularJS as the frontend framework.
  So my questions are: How would I accomplish this? I would I transfer the data between the two? </p>
  
  <p>I wanna know a few details about it with examples because I can't find a good video tutorial where they combine the two. (found some tutorial about laravel &amp; angular, Ruby on rails and angular but not really into those yet).
  If someone knows a good video tutorial or even a blog post explaining this, please provide a link.</p>
  
  <p>Found a few combo projects on GitHub but without any explanation what and how it is done, they are not really useful.</p>
  
  <p>The only thing I know about this is that I have to return the data as json but I am not sure how to do that.</p>
  
  <p>Thanks!</p>