We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 06a1a86 commit 931f3ddCopy full SHA for 931f3dd
1 file changed
guide/angular-data/synchronous.md
@@ -32,8 +32,8 @@ $scope.$watch(function () {
32
To make things simpler, angular-data has some bind methods to help with this:
33
34
```js
35
-DS.bindOne($scope, 'myDoc', 'document', 45');
36
-Document.bindOne($scope, 'myDoc', 45');
+DS.bindOne($scope, 'myDoc', 'document', 45);
+Document.bindOne($scope, 'myDoc', 45);
37
```
38
39
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