switched to ui-router (closes #1)