restored ui-router/resolve example