Salary Calculator in Angular