Setup UI routed templates.