Advertisement
Guest User

Untitled

a guest
Oct 28th, 2016
63
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.44 KB | None | 0 0
  1. <select class="selectpicker" bootstrap-selectpicker data-ng-model="modelValue" multiple="" data-actions-box="true">
  2. <option>Mustard</option>
  3. <option>Ketchup</option>
  4. <option>Relish</option>
  5. </select>
  6.  
  7. app.directive('bootstrapSelectpicker'), function($compile, $parse){
  8. var bootDirective = {
  9. restrict : 'A',
  10. link: function(scope, element, attr){
  11. $('.selectpicker').selectpicker();
  12. }
  13. };
  14. return bootDirective;
  15. });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement