Drag and sort rectangles

I am working on something that depends on dragging and dropping rectangles (done with ul and div elements) into a different sort order. It works just fine in plain html but I can’t get anything to work in Ionic. I’ve tried with jquery and pure angular but no joy.

I’ve been researching this for quite a while and am wondering if this is impossible in this framework. Am I just missing something?

Thanks!

Have you looked at something like this?