Making google maps components with AngularJS