I want to create a functionality which undo and redo value from input tag in angular. What I supposed to do is as follows if I enter Hello in input:
- click undo button: show hell
- click undo button: show hel
- click redo button: show hell
- click redo button: show hello
Please help. Thanks