Matt
Member since Apr 15, 2015
- Profile: /members/12621-matt.htm
- URL: http://eco.ucdavis.edu/
- Comments: 2
Recent Blog Comments By Matt
-
Creating An HTML-Based Select Menu In AngularJS Using ngModel And ngModelController
Posted on Apr 20, 2015 at 6:58 PM
Hi again, I wasn't able to get the caret attribute to work correctly with "false" unless I explicitly checked in the first directive to see if caret is "true", like so: if ( tAttributes.caret === "true" ) { tElement.addClass( 'dropdown-caret' ); } (li... read more »
-
Creating An HTML-Based Select Menu In AngularJS Using ngModel And ngModelController
Posted on Apr 15, 2015 at 8:22 PM
Ben, this is so great. Thank you so much for sharing this unique and effective solution. A tip for anyone who tries this out and can't seem to get it to work -- make sure jquery.js is loaded before angular.js, like in Ben's example. Otherwise it just won't work.... read more »