Routing with AngularJS and jQuery Mobile

I am working on webapp based jQuery / jQuery-mobile and I was asked to use AngularJS. As expected, I have some problems with routing processing. I know that there are a lot of people about this, but still I have not found a working solution.

I already read this page that someone suggested, but downloading the first jQuery mobile and then angular does not help.

Now I look at this library , but I'm not sure that the company will allow me to use it, because it is still at the alpha stage, and my work can become (hopefully) a webapp production. Now I'm wondering how I can let JQM handle the AngularJS route, I think this might be the best solution for me.

Has anyone managed this? Can you provide me with a working example or other possible solution? Thanks.

+6
source share
1 answer

The best way to solve this problem is to disable JQM routing, try the following:

$.mobile.ajaxEnabled = false; $.mobile.linkBindingEnabled = false; $.mobile.hashListeningEnabled = false; $.mobile.pushStateEnabled = false; $.mobile.changePage.defaults.changeHash = false; 
+1
source

All Articles