javascript - Angular-google-maps passing information from info window to parent scope -


is possible? having poured on documentation, there extremely few, if any, work arounds call functions outside of scope of marker. hope add ng-click features, given div inside infowindow ng-non-bindable, prevents implementing directives. if there isn't work around, know if can use standard javascript google maps package inside angular application , support jquery?

p.s. if has figured out way stylize info window, please let me know. has been frustrating.

my goal like:

<ui-gmap-google-map center="map.center" zoom="map.zoom" options="map.options">   <ui-gmap-markers models="appfact.getlist()" coords="'self'" icon="'icon'" click="'onclick'" options="'options'">     <ui-gmap-windows show="show">       <div ng-non-bindable>         <h5><strong>{{name}}</strong></h5>         <h5><strong>{{address}}</strong></h5>         <a href="" ng-class="btn btn-primary" ng-click="confirmappointment()"></a>       </div>     </ui-gmap-windows>   </ui-gmap-markers>     </ui-gmap-google-map> 

where confirmappointment() take the appointment information , post resource request server.

all appreciated.

thanks.

different question same fix: https://stackoverflow.com/a/27322298/3790618 need create separate controller , template. can pass function window's scope set templateparameter.


Comments

Popular posts from this blog

google chrome - Developer tools - How to inspect the elements which are added momentarily (by JQuery)? -

angularjs - Showing an empty as first option in select tag -

php - Cloud9 cloud IDE and CakePHP -