an example using google-maps that works with angularJs