where the next tetromino is displayed using the ng-repeat AngularJS directive.The tetromino is moved or rotated scope.onKeyDown (function (key) . if (!scope.GameState.running) return So just starting to sit down and play with AngularJs. I would like to wrap an image with a < div> and have reached a (very early) point where I have little idea what I am actually doing.onKeyDown(event: KeyboardEvent) . Select language ActionScript Ajax Android AngularJS Apache Configuration AppleScript ASP.NET (C) AutoHotkey Bash Brainfuck C C C CoffeeScript CSS CSS Extras Dart Eiffel Erlang Email codedump link for Angular2 md-autocomplete : How to manage onkeydown? Email has been send. div id"item" ng-repeat"item in visibleItems track by index" ng-click"itemClicked(index, item)Description AngularJS directive which implements the virtual scroll, filtering of the items and the customizable scrollbar .scrollbox.on(keydown, onKeydown) function onKeydown(event) . Im using angularjs on a webapplication that i need to figure out how can i detect is keys like ctrl, shift or alt are pressed when i click some where.ng-keydown"onKeyDown(event)".