You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: .docs/angular-meteor/client/content/tutorials/angular1/steps/tutorial.step_16.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -56,7 +56,7 @@ What happened here:
56
56
* We added the click event to the map. Every time the user clicks the map, we take the location from the click event's params and save it as the party's new location.
57
57
Notice that in the end we call $scope.$apply(); this is because that event comes outside of Angular and we need to let Angular know that something has change so it will run another $digest cycle.
58
58
* We defined the options object under the marker to specify the marker is draggable.
59
-
* We handled the dragend event that happens when the marker is droped in a new location. We take the location from the event's params and save it as the party's new location.
59
+
* We handled the dragend event that happens when the marker is dropped to a new location. We take the location from the event's params and save it as the party's new location.
60
60
61
61
Again, with the great Meteor platform there is no need for sync or save function. We just set it and it syncs in all other clients.
0 commit comments