Once your library is imported, you can use its components and directives:
Three input elements: config, items, ngModel
config supports two properties: placeholder and sourceField which is used to search.
Two optional properties: class for customized css style and max for the max number of items.
Two output events: selectEvent (when a item is selected) and inputChangedEvent (when users input)
<!-- You can now use your library component in app.component.html -->
Note: If you're using reactive forms, pass the FormControl into the input as a prop like <input input-autocomplete [control]="formControl"> for methods such as setValue or reset to work.