adds ng-focus directive for form validation