Changed the app to use ui-router instead of ngRoute