implemented localStorage sync'ing of AngularJS model properties.