ng 1.3 part 3 - better promise sample