This is the situation:
I have a simple app made in Angular JS that comunicate with the server through an API made in codeigniter.
There is a
Use:
$postData = $this->input->post();
It should give you an array with all the post data.
I also advise you to turn on XSS filtering.
Following is the documentation for the Codeigniter Input Class: http://ellislab.com/codeigniter/user-guide/libraries/input.html