Skip to content
This repository was archived by the owner on Mar 17, 2025. It is now read-only.

Commit 0557d67

Browse files
committed
Fix typo in 2nd example
1 parent dc73029 commit 0557d67

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

README.md

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -97,9 +97,11 @@ remote data. All remote changes will automatically appear in the local model
9797
Set `angularFireCollection` as a service dependency in your controller:
9898

9999
```js
100-
myapp.controller:('MyCtrl', function MyCtrl($scope, angularFireCollection) {
101-
...
102-
});
100+
myapp.controller('MyCtrl', ['$scope', 'angularFireCollection',
101+
function MyCtrl($scope, angularFireCollection) {
102+
...
103+
}
104+
]);
103105
```
104106

105107
Create a collection at a specified Firebase URL and assign it to a model in `$scope`:

0 commit comments

Comments
 (0)