I\'m using angularjs on a web application that I need to figure out how can I detect is keys like ctrl, shift or alt are pressed when I click so
In your html
In your js
$scope.doSomething = function($event) { if ($event.altKey){} if ($event.ctrlKey){} if ($event.shiftKey){} }