diff --git a/examples/counter/components/counter.js b/examples/counter/components/counter.js
index f6d69c2..c574ea9 100644
--- a/examples/counter/components/counter.js
+++ b/examples/counter/components/counter.js
@@ -3,7 +3,7 @@ import * as CounterActions from '../actions/counter';
export default function counter() {
return {
restrict: 'E',
- controllerAs: 'vm',
+ controllerAs: 'counter',
controller: CounterController,
template: require('./counter.html'),
scope: {}
@@ -20,7 +20,7 @@ class CounterController {
// Which part of the Redux global state does our component want to receive on $scope?
mapStateToScope(state) {
return {
- counter: state.counter
+ value: state.counter
};
}
}
\ No newline at end of file