It is common knowledge that angular
has the ability to create a project and convert it into pure HTML
, CSS
, and js
code. Similarly, I am looking to do the same for my AngularJS
application. When I execute the app using npm start
it works perfectly fine. My goal is to incorporate this app into my backend as an index.html
template, eliminating the need for a separate front end server.
As depicted below, the backend
represents a flask app while the frontend
signifies an angular JS
app.
I would appreciate any suggestions or solutions on:
- How can I convert the code into pure HTML, CSS, and JavaScript?
- How can I integrate the angular JS frontend directly into the flask backend as a template?
.
├── backend
│ ├── app.py
│ └── src
│ ├── db.py
│ ├── __init__.py
│ ├── run.py
│ └── secure.py
├── frontend
│ ├── app
│ │ ├── app.config.js
│ │ ├── app.css
│ │ ├── app.module.js
│ │ ├── home
| | | ├── home.component.js
| | | ├── home.component.spec.js
| | | ├── home.module.js
| | | └── home.template.html
│ │ ├── index.html
| ├── package.json
│ ├── package-lock.json
│ └── README.md