Angular Interview Question Deep Dive: Implement ng-click

For this post I decided to do something a bit different. We will go through an Angular interview question that I quite like: How would you implement the ng-click directive yourself?