I am currently working on the development of a website and an app created through Cordova. The app will essentially mirror the functionalities of the website. The website is already established and heavily relies on JavaScript, with potential consideration for integrating AngularJS. One potential solution I am exploring involves creating an API to partition the frontend and backend components of my website. This approach would allow me to utilize the same API for developing the app and simplify the deployment of AngularJS. Do you think this is a viable strategy, or am I overlooking any important aspects?