Let\'s say we have the following service:
myApp.factory(\'FooService\', function () { ...
Then, from a controller, I would say:
As far as accessing the service directly in the view, that seems exceedingly un-angular. Binding it to a scope variable in the controller seems like a better solution than using the service directly in the UI to help maintain separation of duties.