switched routing to use angular-ui-router; updated the documentation