Anthony Hocquet
Member since Mar 3, 2015
- Profile: /members/12556-anthony-hocquet.htm
- URL: http://hocquet.fr
- Comments: 4
Recent Blog Comments By Anthony Hocquet
-
Looking At $compile() And MaxPriority In AngularJS
Posted on Mar 27, 2015 at 11:35 AM
@Ben, You're welcome. For other readers wondering the details, here's the modified code : https://gist.github.com/ahocquet/5061815b7204758752cf... read more »
-
Looking At $compile() And MaxPriority In AngularJS
Posted on Mar 27, 2015 at 10:52 AM
@Ben, See my comment below :)... read more »
-
Looking At $compile() And MaxPriority In AngularJS
Posted on Mar 27, 2015 at 10:51 AM
Hi Ben, I've just noticed a bug while using this bnFriend inside a ngRepeat directive. You shouldn't use $compile in compile function because you are compiling the original dom template. By doing so, you are linking the original dom element against the scope in the link, which is fine in an non ngR... read more »
-
Looking At $compile() And MaxPriority In AngularJS
Posted on Mar 3, 2015 at 1:18 PM
Hi Ben, I faced the exact same situation today, minus the isolated scope headache. Your post is crystal clear and helped me to figure where I should add the directive attributes (controller ? prelink ? compile ?). Now I got it working as I wanted to. Thanks a lot !... read more »