I'm trying to write a hybrid app using the "Tools for Apache Cordova" visual studio project template. In order to use angular2 I have added the required modules to packages.json.
Once I have compiled everything and fixed any other missing packages, the app refuses to load angular, presumably because the the packages are all the in the '~/nodes_module' folder while the website files are in the 'www' folder.
I have the same problem whether I load the sample (https://github.com/dbiele/TypeScript-Cordova-SystemJS-Angular2-beta) or follow the angular quickstart (https://angular.io/guide/quickstart).
I'm sure I'm doing something fundamentally wrong with respect to how a hybit app should be packaged. Help will be greatly appreciated.
I'm using visual Studio Community 2015. I updated node and npm to the latests version and updated the path in visual studio so it can find them.