javascript - Showing Suggestion box for multiple email ids with Angular JS -


enter image description here

i have created angular js function show email suggestions google admin directory.i calling service inside angular js function emails. want mark form submission multiple employees adding emails in above text field, suggestions list of emails show 1 employee,is there simple way show suggestions when adding multiple emails in text field

below angular js function

  $scope.getemail= function(val) {             return $http.get('https://1-dot-   directory.appspot.com/_ah/api/mydirectory/v1/query/'+val)             .then(function(response){               return response.data.items.map(function(item){                 return item.email;                 });             });           }; 

you can first show names of persons ? , if have selected person can show emails ? if have more one.


Comments

Popular posts from this blog

Payment information shows nothing in one page checkout page magento -

tcpdump - How to check if server received packet (acknowledged) -