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
If you are trying to capture a key combination, such as Ctrl-Enter, you can look at the window object
For example to find Ctrl-Enter use
if(window.event.keyCode == 13 && window.event.ctrlKey == true)