using ui-router instead of angular's default router. it has some more features