replace ng-route with ui-router
use  to change state