UKG Interview Question

How to handle components inside angular.js?