jspretty bugs found and fixed against angular.js