Defining methods on the scope & injecting service data