Only compiling once to prevent ng-repeats from growing on each infoWindow.open()

The original code decorated the infoWindow.open() and would compile() before calling the original infoWindow.open(). This causes ng-repeats to grow with each call. Compiling is needed or else things like ng-click won't work. But a single compile appears to be enough for all functionality to work as expected.