Started validation in AngularJS