fix(angularjs): make Function.$inject optional

The $inject member of the global Function interface should be optional, to be consistent with actual functions.