#1 protractor test
#1 moving logic to new controller