In my current project, I am utilizing angular bootstrap typeahead with multiple instances. Some of these instances are directly appended to the body using the "typeahead-append-to-body" option. Now, I have a specific instance where I need to customize the presentation by adding a unique CSS class only to that particular instance's ul dropdown-menu. However, I am facing difficulties in achieving this customization as the typeahead is appended to the body, making it challenging to target specific elements.
For more information on angular bootstrap typeahead, you can visit http://angular-ui.github.io/bootstrap/#/typeahead
<input type="text" typeahead-append-to-body="true" typeahead="state as state.name for state in statesWithFlags | filter:{name:$viewValue}" typeahead-template-url="customTemplate.html">
I am looking for a solution where I can customize the presentation of a specific instance without affecting other instances. Directly targeting using "body > .dropdown-menu" will impact all instances, which is not the desired outcome.