JS errors on ios only


#1

Hello, I was building an application using the ionic framework and it went out just great.
While developing I used android only based on the concept of hybrid applications.
My app works flawlessly on any android device.
After a lot of struggling I was able to run my application on an iPad, but I can’t tell why it doesn’t work the same.
The app land on the login page, some actions works but others gives me wired errors that connected to the JavaScript code. I found it impossible since its the exact same code!
Dose the application run differently on ios? How come the same code works on android and throw errors on ios?

This is an example of one of the errors I receiving while running the app on iPad only:

Error: ‘undefined’ is not a function (evaluating ‘$rootScope.showLoading()’)

Can anyone please help me understand this?