angular.js - An error occurs when loading ngCookies in the Android WeChat client of angurlarJS
phpcn_u1582
phpcn_u1582 2017-05-15 16:56:56
0
1
668
<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?

phpcn_u1582
phpcn_u1582

reply all(1)
仅有的幸福

Your ngcookies version must be consistent with the angularjs version.
I use version 1.4.3 without any problems

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template