angucomplete-alt
angucomplete-alt copied to clipboard
enhancing the angucomplete-alt by allowing originalObject to be used as the selectedObject.
By default, when a object is selected, the scope.selectedObject is set to the angucomplete wrapper. The original object is nested in selectedObject.originalObject. This PR allows the originalObject to be used as the value when "useOriginalObject" scope parameter is passed in as 'true'.
This removes the need to create custom selectedObject functions to extract the originalObject and sets it in the scope.
+1
+1
+1