Trying Fixes for Submission

Corrected method of json decoding. Fixed up some ng-model names.