Skip to main content
Ben Nadel at Blue Smoke (New York City, NY) with: Claude Englebert
Ben Nadel at Blue Smoke (New York City, NY) with: Claude Englebert ( @cfemea )

Emisael

Member since Oct 5, 2016

Recent Blog Comments By Emisael

  • Creating A Simple Modal System In AngularJS

    Posted on Dec 20, 2016 at 3:17 PM

    Thanks @Clandher, you gave me the idea, I added it at the end of open() method in Modals Service : $("body").keydown(function(e){ if(e.keyCode === 27){ reject(); } });... read more »

  • Creating A Simple Modal System In AngularJS

    Posted on Oct 5, 2016 at 9:24 PM

    How could I do for the directive to close the modal when 'escape' key is pressed? I've tried with: element.on( "keydown keypress keyup", function handleKeyPressEvent( event ) { if ( event.keyCode !== 27 ) { return; } sco... read more »

  • Creating A Simple Modal System In AngularJS

    Posted on Oct 5, 2016 at 9:18 PM

    Thanks Ben, very well explained and easy to learn. I have about 3 days trying to implement the Bootstrap modal, but, the modal gets loaded with the whole page view, the whole <html>...</html> I've tried multiple versions with some libraries such as: ui.bootstrap, angular-confirm, angu... read more »

I believe in love. I believe in compassion. I believe in human rights. I believe that we can afford to give more of these gifts to the world around us because it costs us nothing to be decent and kind and understanding. And, I want you to know that when you land on this site, you are accepted for who you are, no matter how you identify, what truths you live, or whatever kind of goofy shit makes you feel alive! Rock on with your bad self!
Ben Nadel