figuring out angular resource with complex object in uri