Is a directive that emulates a <select> but it is unformatted and allows to use html inside.
<drpx-select-html ng-model="your.model" data-options="option in your.options">
My <b>cool</b> option: .
</drpx-select-html>
Add the bower component drpx-components
:
$ bower install --save drpx-components
Add the dependency to your index.html
:
<script src="bower_components/drpx-components/DrpxSelectHtmlDirective.js"></script>
Add the dependency to you YourApp.js
:
angular.module('YourApp', [
// ...your other dependencies...
'drpx.selecthtml',
]);
See example before or demo.