Edgar Buuman
Member since Jan 6, 2013
- Profile: /members/10560-edgar-buuman.htm
- Comments: 2
Recent Blog Comments By Edgar Buuman
-
Creating A Custom Show / Hide Directive In AngularJS
Posted on Jan 7, 2013 at 4:40 PM
@Ben Well, I really hadn't thought about it too much. I see that angular-strap library doesn't use isolated scopes, angular-ui mostly does. Most code examples I've seen uses isolated scopes, so I have done it this way, at least until now, mostly because it looks cleaner to me. I should dig into thi... read more »
-
Creating A Custom Show / Hide Directive In AngularJS
Posted on Jan 6, 2013 at 5:11 AM
This is how I would write this directive: Demo.directive( "bnSlideShow", function() { // Return the directive configuration. return({ link: link, restrict: "A", scope: { show: '=bnSlideShow', duration: '=slideShowDuration' } }); // I allow an in... read more »