Template choices are now functioning as desired without query parameters.

The logic to get a template is currently set in the ui-router. This
needs to be moved to an angular service.