Can ion-view's attr "can-swipe-back" be dynamically changed?

Hi guys!
my ionic version is: v1.1.0. here I encounter a problem. I freeze the UI when app making ajax call (but not really freezed, just make the ng-click like “ng-click=‘loading || …’”). and I want my view can not be swiped back until the ajax call finished.
I tried add attr can-swipe-back="{{not loading}}", but it is not work. and also tried the url https://github.com/driftyco/ionic/issues/3470 and no use.
Any ideas?
Thank you!

Hi, I finally found the solution, just set the currentview’s attr canSwipeBack = false while loading, set canSwipeBack = true when finish loading. :grinning: