added a service to manage a scope-based URI.  For ease of access the service is added to controllers.js at the top of the document.

Testing outputs can be seen at lines 1245-1249