ng docs: onComplete callback