Checkout a example at
http://angularjsaz.blogspot.com/2015/11/angularjs-select-option-with-image.html
Vào 16:13:32 UTC+7 Thứ Hai, ngày 09 tháng 6 năm 2014, Jeevan Chamarthi đã
viết:
>
> Hi,
> We are trying to fetch images from the model values and construct the
> images in the select dropdown but that doesn't work with the following
> approach.
>
> Please suggest.
>
> <select ng-model="mobileoperators">
> <option ng-repeat="operator in operators"
> data-image="/home/images/{{operator.name}}.png">{{operator.name}}</option><select>
>
>
> Thanks, Jeevan
>
>
--
You received this message because you are subscribed to the Google Groups
"AngularJS" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.