Updated Alert Validator to Validate Scope Elements