Angular keyboard directive.