AngularJS ui-router seed project service for parsing query parameters