added ui.router, removed angular-resource