I am trying to add angular 5 to cordova and create a project. And no I DO NOT want to use ionic.
I am following the following tutorial on the web https://medium.com/@nacojohn/convert-your-angular-project-to-mobile-app-using-cordova-f0384a7711a6
when I run ng serve my app launches in the browser and when I do cordova build android my app is built successfully.
But as soon as I launch the app in an emulator I get the following error and a white screen
compiler.js:16014 Uncaught TypeError: undefined is not a function
Do let me know where is the issue?
Thanks
Note: I am simple using the started project generated by angular cli which is why I am not adding any code.