You only managed to slide the old one off as a corner was damaged, otherwise it would not have done so.
To fit the new window you need to get it in approximately the right position and lift it above 90 degrees to the front of the van and clip the window part of the hinge into the rail, then shut the window.