I was working with Angular directive masks (but JS answers are also welcome) and I found myself into a problem.
We want to create masks that are complete "fool-proof