PHP CodeIgniter, CI RestServer and AngularJS application for status posts and comments