I implemented swipe functionality within side menu content
But the content on the view does not change when swiped but it refreshes when the side menu is open.
What can I do to change the content on swipe or drag?
Wow. That’s pretty interesting. I modified it a bit because you weren’t actually notifying the controller except on dragEnd
. However, I still can’t get it to update the view unless the side menu is opened. It logs all the notifications, but won’t change the view value. I even wrapped it in dot notation.
Anyone have ideas?
Finally found a solution. Called $state.reload() in the controller and it worked
I have no clue why that worked.
Updated sample : http://plnkr.co/edit/IXaqdU4JSc8F6KECqWJa?p=preview
Thanks for updating us.