I have been hired in my first web developer job a few weeks ago for a moving software company of only 3 developers. The software connects to the moving companies' websites by installing quote forms (injected from the Angular application). Installation of the forms are easy for static HTML websites. However, it gets a little more complicated if a moving company has a Wordpress website, which is the majority of our clients. The process I have been shown is as follows:
- Add a copy of the Angular application directory to the root of the Wordpress website theme directory.
- In the theme's header.php file, we add the CSS links in the head of the file.
- Then, in the body tag, we add the Angular attributes that connects the app to the page (ie "ng-app")
- We then go to the footer.php file and add the script tags we need to add.
My question is, is there anyway that I can add create a Wordpress plugin that achieves these steps? Or, is there an easier way to go about connecting an Angular application to any website, not just Wordpress (it is a similar process for static HTML websites). I have been a part-time web developer for the past 3 years and am familiar with Angular and Wordpress, but not enough to know if this is possible. And the other developers (outsourcing from Russia) believe that their process is perfect and does not need any improvement, so they are not helpful.