discover how to correctly use ui-router