Q: Angularjs Directive Select2 code I see the following code in a directive for our project, but am not sure what it does.  Can someone explain what the first line does?  Is this just how select2 is initiated?
 element.select2('val', ngModel.$viewValue);
                    if (isOpen) {
                        element.select2("close").select2("open");
                    }

