Updating $provide.service method docs

The previous example provided for the service method did not work.  I've updated the example to a working example.