isSameCenterOnMap helper function returns true when mapCenter and centerModel's coordinates (lat and lng) are all equal to 0.000. This causes the 'moveend' event to fire multiple times and which puts the digest in an infinite loop with the watcher on bounds.
isSameCenterOnMap
helper function returns true when mapCenter and centerModel's coordinates (lat and lng) are all equal to 0.000. This causes the 'moveend' event to fire multiple times and which puts the digest in an infinite loop with the watcher on bounds.