[Resolved] Suddenly variables on $scope stop rendering in html

Hi. I’m doing some fixes/upgrading to iOS 13 on an old ionic v1 app.
I’ve spent around 5 hrs already on this problem, wonder if I can get any help here. Long time since I was working with this technology.

So, after I navigate to modals with $ionicModal.fromTemplateUrl, something happens and all templates stop showing values of $scope variables (screenshots below). There are no errors in console. Anyone has an idea?

ionic info:


   Ionic CLI         : 6.6.0 (/Users/hbarylskyi/.nvm/versions/node/v10.15.1/lib/node_modules/@ionic/cli)
   Ionic Framework   : ionic1 1.3.5
   @ionic/v1-toolkit : 3.1.2


   Cordova CLI       : 9.0.0 (cordova-lib@9.0.1)
   Cordova Platforms : ios 5.1.1
   Cordova Plugins   : cordova-plugin-ionic-keyboard 2.2.0, cordova-plugin-ionic-webview 4.2.0, (and 17 other plugins)


   cordova-res : 0.13.0
   native-run  : not installed


   Android SDK Tools : 26.1.1 (/Users/hbarylskyi/Library/Android/sdk)
   ios-deploy        : 1.9.4
   ios-sim           : 8.0.2
   NodeJS            : v10.15.1 (/Users/hbarylskyi/.nvm/versions/node/v10.15.1/bin/node)
   npm               : 1.3.4
   OS                : macOS Catalina
   Xcode             : Xcode 11.2.1 Build version 11B500

  gulp is used for packaging the code.

fixed. I wasn’t sending $scope to the modal.