Removed hacky way of getting access to gmMap's controller, angular provides a proper method.