modified redirect from controller method to ui-sref