diff --git a/README.md b/README.md index 83de704..31a4b68 100644 --- a/README.md +++ b/README.md @@ -64,7 +64,7 @@ class CounterController { /* ngRedux will merge the requested state's slice and actions onto this, you don't need to redefine them in your controller */ - let unsubscribe = $ngRedux.connect(this.mapStateTothis, CounterActions)(this); + let unsubscribe = $ngRedux.connect(this.mapStateToThis, CounterActions)(this); $scope.$on('$destroy', unsubscribe); }