Migrated dummy code to real Ui Router code