rest-api in codeigniter + client in angular for managing your refuels