compile InfoWindow content do handle ng-click correctly