Hmm really hard and not a good thing i think but :
var app = angular.module('MyApp', []);
console.log(app._invokeQueue[0][2][1]);
_invokeQueue is an array if you do that for each entry getting the [0][2][1] you'll see the name of each provider in your module.
If you lok the _invokeQueue alone you'll see a lot of things that you'll like the name of the provider like below but his type too (directive, controller, ...);
But you feel that this is a tricky thing not a good thing a really bad practice but anyway really fun.
Don't use it in production !
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…