<!DOCTYPE html>
<html>
  <head>
    <meta charset="utf-8" />
    <title>hotkey</title>
    <script src="angular.min.js"></script>
    <script src="hotkey.js"></script>
  </head>
  <body ng-app="app" ng-controller="DemoCtrl">
    <p>
      <input type="text" hotkey="ctrl+I"></input>
      press Ctrl+I
    </p>
    <p>
      <input type="text" hotkey="F2"></input>
      press F2
    </p>
    <p>
      <textarea hotkey="ctrl+shift+v"></textarea>
      press Ctrl+Shift+V
    </p>
    <p>
      <button hotkey="C