Update ui-map.js

placing the map inside of a ng-if breaks the infowindow if it is cashed on the scope as the map will be a new instance the 2nd time the map is shown