add angularjs
stop cleaning the input value when a exception happens