I’m new to both AngularJS and Ionic, and I was wondering how I can use additional Angular modules that I find online with Ionic.
For example, right now I have an ion-list with a re-order button to reorder my items. However, the items do not update until I let go. I would like it to update in real time. As a reference, this is what I do not want and this is what I want.
So I found this module online called ngRepeatReorder which does just that. However, I have absolutely no idea how to use it within my Ionic code. I have installed it, but after that I am lost.
Can anyone point me in the right direction with doing this?
If you are new to Ionic and AngularJS I would suggest you skip Ionic 1 and AngularJS completely and start with Ionic >=2 and Angular (new name for everything newer than and including Angular 2). Both frameworks made a big switch in… basically everything but the name.
ngRepeatReorder is quite old and definitely made for AngularJS, so a nogo for Ionic 2.
My problem is that I’ve pretty much already finished my app. I only have this one thing left to do. How portable is everything from Ionic 1 to Ionic 2?
That would be pretty much zero.
1 Like
Then changing to Ionic 2 is not an option for me. I don’t want to go and redo all the work I’ve done.
However, is what I want easily accomplished in Ionic 2 or is it still not a built-in thing?
I would take a look at dragula. I know it’s usable with Ionic 2, and probably would be with v1 as well.