Philips interview question

OOPS Basics Javascript Core Angular Directives