[TASK] Update a few dependencies

I just upgraded AngularJS and json3 to their latest minors which should be absolutely harmless as well as i formatted the main generator as it got a little hard to read.