machineboy2045/angular-selectize — pull request #23 by Qwal (2014-12-08 09:08:46+00:00)
Title: Angular 1.3.x Pass copy of object to $setViewValue

According to https://code.angularjs.org/1.3.3/docs/api/ng/type/ngModel.NgModelController we need to pass copy of object to $setViewValue in order for dirty checking and validation to work properly. This commit fixes the issue.