fixed view updating bug: http://stackoverflow.com/questions/16185753/angular-js-model-update-doesnt-trigger-view-update?noredirect=1#comment23139281_16185753