3 ms·
Thanks! I also just found out about angular-ui-utils, where they have a generic pass-thru directive for initializing jQuery plugins. Interestingly, they opted t
by SanderMak 13y ago
Thanks! I also just found out about angular-ui-utils, where they have a generic pass-thru directive for initializing jQuery plugins. Interestingly, they opted to use $timeout inside the compile function: https://github.com/angular-ui/ui-utils/blob/master/modules/jq/jq.js https://github.com/angular-ui/ui-utils/blob/master/modules/j...
Wonder why that is, are there cases that would otherwise break?
- marknutter 13y agoI'm not sure, that's a good question.