Skip to content

Commit 5c350b3

Browse files
committed
Use imported variables in the example code
1 parent 793ba48 commit 5c350b3

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

examples/counter/index.js

+5-5
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
1-
import 'angular';
2-
import 'ng-redux';
1+
import angular from 'angular';
2+
import ngRedux from 'ng-redux';
33
import rootReducer from './reducers';
44
import thunk from 'redux-thunk';
55
import counter from './components/counter';
66
import { devTools } from 'redux-devtools';
77

8-
angular.module('counter', ['ngRedux'])
8+
angular.module('counter', [ngRedux])
99
.config(($ngReduxProvider) => {
10-
$ngReduxProvider.createStoreWith(rootReducer, [thunk], [devTools()]);
11-
})
10+
$ngReduxProvider.createStoreWith(rootReducer, [thunk], [devTools()]);
11+
})
1212
.directive('ngrCounter', counter);

0 commit comments

Comments
 (0)