Change routeparameter to $index instead of provider.Id