set up a service and injected bindable text from main.js by using a factory