New York Times interview question

How can you know when an Angular Directive is done updating?