updated angular to 1.2.7 (with ui.router)