Angular Directive to check email is unique with ajax call and also check whether emails is valid or not