basic implementation of ui-router