Using ionTabs inside of an iFrame on the Web


#1

I’m using ionic inside of an iFrame for part of our web application. I’m having a weird issue with ionTabs throwing the error angular.js:12783 TypeError: Cannot read property ‘$destroy’ of undefined. I tracked it down and the error is being thrown from ionic-angular.js in the ionTab directive on line 12935. Basically what seems to be happening is that when I change states, it tries to destroy the ionTabs, and calls tabNavElement.isolateScope().$destroy(). However, the isolateScope is undefined. Is there something I need to do to make sure the isolateScope is set? Or is this just a bug with how ionic interacts with iFrames?. Thanks! Also, I’m using ionic v1.0.1, and running in chrome 50.0.2661.102