angular-ui/angular-google-maps — pull request #780 by bensgroi (2014-10-22 00:20:58+00:00)
Title: Fixing mapControl directive when using full jQuery.

Replacing controlDiv.contents() with controlDiv.children() in Control.prototype.link. jqLite appears to have a bug in that its .append() method doesn't behave exactly like jQuery's, resulting in an error when using the jQuery and the mapControl directive and when there's leading whitespace in the ng-template script tag (which is probably always the case).

For example, this causes an error:
```

```

but this does not:
```