a5hik / ng-sortable

AngularJS Library for Drag and Drop, supports Sortable and Draggable. Supports Touch devices.

Home Page:http://a5hik.github.io/ng-sortable/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Compile component on itemMoved event

sadrzadehsina opened this issue · comments

Hi,

I have below object:

item = { name: 'component-one', template: '<component-one></component-one>' }

I need to compile item.template on itemMoved event. I am wondering is there any hook to compile a component or directive rather than inserting the item object itself.