using hg-show instead of ng-if for form.
removing extra semi colon, and moving subtotal calculation to happen before broadcasting.