in short, what's the difference between
var MyModule = { func: function() {} }; and
var MyModule = { func: function f() {} }; I used to use the first way. But when I see angular docs it's is usually the second way. why, and what's the difference?