/** * This directive is used to set custom template partial for an item and maintains separate scope for each item. * This takes two inputs * 1) template partial name as wmItemTemplate * 2) item object as userComponentParams * Example: Providing a custom template for the search/autocomplete widget (customized UI in the dropdown for each item) * Add this directive to the li tag and provide item object and partial name like below. And also provide partialContainer and partial-container-target to render the partial. *