【发布时间】:2013-06-01 19:16:32
【问题描述】:
我无法让 angularjs 在带有 phonegap 的 windows phone 7 上工作。简单的僵硬工作,但只要我尝试添加页面包含或视图(路线),它就不会做任何事情。在 angular.js (1.0.3) 的函数 matchUrl(url,obj) 中,有一个正则表达式失败,因为 Windows Phone 使用了不寻常的 URL 格式。
发生的情况是 Angular 期望像 'http://localhost/www/index.html' 这样的 url,但在 windows phone 中它看起来像:'x-wmapp0:app/www/index.html'。
有人遇到过这个问题吗?有解决办法吗?
【问题讨论】:
标签: windows-phone-7 angularjs cordova