Angular Directive revision & E2E tests