angular resource-id snippet updated