The mad ramblings of a man messing around with AngularJS