I think the best way is to go like this:
var myFunctions =
{
myFunc1: function(param) {
},
myFunc2: function(param) {
return foo + myFunctions.myFunc1(param)// do some stuff with the first function
}
}
return myFunctions;
because I think if you use this, it may get conflict with the scope where you use the service.