angular/angular.js — pull request #770 by vojtajina (2012-03-07 21:44:24+00:00)
Title: refactor(fromJson): Remove error() and just throw

It's more likely you are using angular.fromJson() inside Angular world, which means you get proper
exception handling by $exceptionHandler.

There is no point to explicitly push it to console and it causes memory leaks on most browsers
(tried Chrome stable/canary, Safari, FF).