refactor and update incorrect affordability calculations. Add two scenarios for the risk profile
make risk spec pass and add a new context for checking division by 0
make risk division by 0 scenario pass
scenario for when risk is over 100% with code to make it pass
refactor affordability spec
implement riskLevel method and test against different contexts
change console output of karma to use dots
refactor remaining pay and risk calculations
refactor remaining pay calculation
refactor risk percentage risk amount method
plug risk information into view
plug in amount and percentage left after risk is calculated into view
fix failing affordability unit tests
remove redudant private method
calculate financial buffer after 2% increase
remove console.log
make affordability feature specs pass
dynamically set min and max slider range for dynamic inputs
explicitly set min and max slider range for mortgage and stamp duty calculator
refactor all directives to follow our JS styleguide conventions