add angular-resource to query restful web services