Hacking around with angularJS