My first ever angular application is a pretty basic survey tool. I have multiple choice questions, with a button for each answer and a basic function that logs each answer o
Catch the event emitted by the rootscope in your controller:
$rootScope.$on('keypress', function (e, a, key) { $scope.$apply(function () { $scope.key = key; }); })
key is then yours to use in the controller.
key
Here's a fiddle