Skip to content

Commit ad744c4

Browse files
committed
Merge pull request #196 from arty-name/patch-1
Fixed runaway quotation marks
2 parents 06a1a86 + 931f3dd commit ad744c4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

guide/angular-data/synchronous.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,8 @@ $scope.$watch(function () {
3232
To make things simpler, angular-data has some bind methods to help with this:
3333

3434
```js
35-
DS.bindOne($scope, 'myDoc', 'document', 45');
36-
Document.bindOne($scope, 'myDoc', 45');
35+
DS.bindOne($scope, 'myDoc', 'document', 45);
36+
Document.bindOne($scope, 'myDoc', 45);
3737
```
3838

3939
The above example shows how to bind an item in the data store to the $scope. Whenever that item changes it will be updated

0 commit comments

Comments
 (0)