completes the services section of angularJs docs example