assign title in templates instead of controllers