added proper services with angular-resource