Altimetrik Interview Question

How scopes work in AngularJS