Modify TimeEntry service to use ngResource