Refactored check and calculate BMI and BSA value functions

1. Refactored by using AngularJs