return required in Angular 1.3