In addition to @DB.Null's answer, I used Function.prototype
as no-op (no-operation) function on #3 instead of angular.noop
(I don't have angular in my project).
So this...
<script async defer src="https://maps.googleapis.com/maps/api/js?key=API_KEY_HERE&callback=Function.prototype" type="text/javascript"></script>