Added lecture code for Angular services and promises