How to create a windows universal app with angularjs?
I created an universal windows app using visual studio, added the angular script (for testing purposes, I trie
A great solution to this problem is to WinStore-JsCompat in your project. Just include it and add a reference in you .html file before all other scripts and you're good to go.
Windows Universal app development can be tricky, especially if you are using angularjs. As suggested by Sorskoot, winstore-jscompat is required to be able to use angularjs in your universal windows app.
I suggest using this fork of jscompat by AndyB that I found to be working with my test project.
Try adding ng-csp
attribute to your Angularjs app as mentioned in their docs for windows universal apps https://docs.angularjs.org/api/ng/directive/ngCsp
You are now two steps closer to making a "universal" windows app!