Skip to content

Commit b9305fe

Browse files
committed
Merge pull request #726 from BrainCrumbz/patch-2
Typos: 'is case', 'biding', 'droped in'
2 parents 50b4a16 + d84d348 commit b9305fe

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

.docs/angular-meteor/client/content/tutorials/angular1/steps/tutorial.step_15.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ So let's use `ng-if` to hide the outstanding invitations from a party, if the pa
5252

5353
# Assigning a function
5454

55-
Now lets hide the 'Users to invite' inside `party-details.ng.html` is case the user is not logged in or can't invite to the party:
55+
Now lets hide the 'Users to invite' inside `party-details.ng.html` in case the user is not logged in or can't invite to the party:
5656

5757
To do that we will create a scope function that returns a boolean and associate it with `ng-show`:
5858

.docs/angular-meteor/client/content/tutorials/angular1/steps/tutorial.step_16.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ Now let's add a map the `party-details.ng.html` , first add this HTML snippet to
1818

1919
{{> DiffBox tutorialName="angular-meteor" step="16.2"}}
2020

21-
Here we created the google-map directive with attributes for biding the center, handling events and zoom of the map.
21+
Here we created the google-map directive with attributes for binding the center, handling events and zoom of the map.
2222
So let's define those variables in our scope. Go to `partyDetails.js`.
2323

2424
Inside we will create the $scope.map variable to hold the properties on the map:
@@ -56,7 +56,7 @@ What happened here:
5656
* 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.
5757
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.
5858
* 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.
6060

6161
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.
6262

@@ -77,7 +77,7 @@ You can see that the difference between the directive we used in `party-details.
7777
The attributes we use:
7878

7979
* models - the scope array that the markers represent.
80-
* coords - the property the holds the location.
80+
* coords - the property that holds the location.
8181
* click - handler for the click event on a marker
8282
* fit - a boolean to automatically zoom the map to fit all the markers inside
8383
* idKey - the property that holds the unique id of the array

0 commit comments

Comments
 (0)