3 ms·
If you want to really get that sample working, here's a pull request that has Angular working in Win8 apps. I'm not sure how Angular changes since the request w
by AdamTReineke 12y ago
If you want to really get that sample working, here's a pull request that has Angular working in Win8 apps. I'm not sure how Angular changes since the request was made would merge so I wouldn't recommend it for anything beyond an experiment. https://github.com/angular/angular.js/pull/6217 https://github.com/angular/angular.js/pull/6217
The error originates because certain coding patterns may be unsafe and are blocked to protect users. Here's a SO answer on the topic, there may be a better MSDN page with the details, but it's late: http://stackoverflow.com/a/14471414 http://stackoverflow.com/a/14471414
(Disclaimer: I work on the IE Dev Tools team and helped test the Hybrid Apps debugger. I was not involved with the pull request or StackOverflow post linked above.)
- andwaal 12y agoAs I mentioned in the orginal comment im aware of the blocked coding patterns, but as I said I hoped they had found a way around it, since they obviously had made a gread amount of effort to get the VS13-> Cordova intigration working. The problem ain`t to patch the Angular source to pass the rules, but its all the other libraries used in a Cordova app which also voilates the rules. ( In my case I use Zurb Foundation, which used modernizr which again voilates the rules.) Patching and maintaining one libary to support Win8 would be acceptable, but to maintain all liberys with special Win8 work-arounds would be a mess. In a typical web-app work flow where one used Bower for maintaining external libarys this would be even worse.