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 somewhere.
For example, with jQuery I can do that by accessing the Click function arguments.
Is there some out-of-the-box way to obtain that information on angular?
In your html
<button ng-click="doSomething($event)"></button>
In your js
$scope.doSomething = function($event)
{
if ($event.altKey){}
if ($event.ctrlKey){}
if ($event.shiftKey){}
}