Reverted to previous commit. Necessary if ui-select2 is not set at all or variable not set on scope