Last updated 5 years ago
To get better understanding on what is changing what ng-state supports state messages or actionType. In order to set additional debugging information you need to pass an object as a third parameter to store.update method.
ng-state
messages
actionType
store.update
addTodo(item: TodoModel) { this.store.update(state => { state.push(fromJS(item)); }, { message: "Item Added" }) }
Complete message would look like:
'${statePath} - {message || actionType}'