angular/angular.js — pull request #3032 by xdissent (2013-06-23 19:07:27+00:00)
Title: feat(Angular.js) skip JSON.stringify for undefined

Return early in `angular.toJson` if the object to be stringified is `undefined`.
IE8 stringifies `undefined` to `'undefined'` whereas other browsers return
`undefined`. This normalizes behavior and passes currently broken unit tests
in IE8.