Like others have said, your issue is hoisting. Just return an object literal and use the IIFE pattern.
var myService = (function speakService() {
var speak = function(word) {
console.log(word);
};
return {
speak: speak
};
})();
myService.speak("TEST");