Include responsibilities of controllers in UI
Update shopping cart template and controller to apply discount using watch function
Reduce number of function calls in template and controller by watch function