Setup a store
To create a store we need to import and use the NgStore
class.
counter-store.js
Make the store injectable by attaching it to AngularJS service. This will make our store available everywhere in our app. In the example below we named it CounterStore
.
counter-store.js
Last updated