<script src="http://code.angularjs.org/1.2.9/angular-cookies.min.js"></script>--加载cookies的依赖
var DemoApp = angular.module( 'DemoApp', ['ngCookies'] ).config( demoConfig );--在module中创建
Here comes the problem. When browsing this page in WeChat, the loading of dependencies stops. . . But the same link loads normally in various browsers on PC and mobile phones. Finally, remove all the code about cookies and it will be normal. It only appears on Android, and is normal on iOS.
What is going on? Is there any solution?
Your ngcookies version must be consistent with the angularjs version.
I use version 1.4.3 without any problems