I need to validations in place for my Angular app on an email field. The restrictions are: 1. The email should be of valid format (Angular's built in validators would take care of this) 2. The email should have a fixed '@abc.com' part. The field should error out in case someone enters another domain.
I'm thinking I should use ng-pattern, but am not sure how to go forward with it. TIA!