How jashwanthakulamtsl/bmi-calculator works
This is a small Angular BMI calculator. Its principal workflow is entering height and weight, calculating BMI, and assigning an underweight, normal-weight, overweight, or obese category; the calculator component contains that logic. The Angular entry point bootstraps the app module, which bootstraps the shell and declares the calculator. The templates were not sampled, so the user-interaction wiring is not shown. The environment flag is read at startup to enable production mode when applicable.
Main entry points: app.module.ts App module · main.ts Application startup · bmi-calculator.component.ts BMI calculator · environment.ts Environment settings
Components 6
Other components
- User
- Application startup
src/main.ts - Environment settings
src/environments/environment.ts - App module
src/app/app.module.ts - App shell
src/app/app.component.ts - BMI calculator
src/app/bmi-calculator/bmi-calculator.component.ts
Connections 5
- Application startup → Environment settings: reads settings
src/main.ts - Application startup → App module: bootstraps
src/main.ts - App module → App shell: bootstraps
src/app/app.module.ts - App module → BMI calculator: declares
src/app/app.module.ts - User → BMI calculator: provides inputs