Hello i am new to angularjs and make a demo of dropdown menu ,I want to hide it once any of menu selected,please help me how to do this?
html
<span class="toolbar-button--quiet navigation-bar__line-height" style="padding: 0;">
<i class="ion-android-more-vertical" style="font-size: 26px; margin: 0; padding: 0 12px;" dropdown-menu="ddMenuOptions" dropdown-model="ddMenuSelected" dropdown-disabled="dropdownsDisabled"></i>
</span>
js
$scope.ddMenuOptions = [
{
text: 'Featured',
code: 'F'
}, {
text: 'Name (A-Z)',
code: 'A'
},{
text: 'Rating',
code: 'M'
},{
text: ' Most Popular',
code: 'MP'
}
];
$scope.ddMenuSelected = {
};