Altimetrik interview question

How scopes work in AngularJS