Using ng-model to bind inputs to live preview.