finished beginning of api clients and resource with angular