Changing to ui-router.  Building DSL in resources