angular/angular.js — pull request #829 by recht (2012-03-27 16:43:03+00:00)
Title: Trim arguments

It turns out that if you have a function like this: function ( ) { }, Chrome will return the space in the empty parameter list while Firefox will not. This means that the injection lookup will get a string like this: " ", which is not handled in inferInjectionArgs.