Use UI Router. Updated routes. Fixed missing injector issue