Made use of . to update Angular on callback