Updated angular and angular-ui-router.
Switched to Angular's 'controller as' syntax.