In AngularJS Store, the only way to update the state from the store is by dispatching an action. By using the dispatch method, you are also able to make some parts of your application that uses the same store to notice the changes.
As you can notice in the above example, every time you perform an update to the state, you get first the current state because you used it for computation.
dispatch method has a simple for that scenario that you can use.