A model centric approach to AngularJS form validation