Tavant interview question

AngularJS related question