Added sanity check to 3-argument module call.

Fixes errors encountered with angular-classy, and plausibly anything else that does not explicitly define dependencies.

Protects against calls such as the one found [here](https://github.com/davej/angular-classy/blob/master/angular-classy.js#L41)