homework 4 - services update after Alena comments (created with $resource)