How to do two-way filtering in AngularJS?
It turns out that there’s a very elegant solution to this, but it’s not well documented. Formatting model values for display can be handled by the | operator and an angular formatter. It turns out that the ngModel that has not only a list of formatters but also a list of parsers. 1. Use ng-model … Read more