Open lbngoc opened 7 years ago
It works with a few tweaks to your code! ;-)
@bigb6611 so we need stop the event to keep the code working, right ?
@lbngoc, that's right!
One other thing I noticed in your pen is the scope function name referenced on the ng-click event does not match the one defined on the root scope: openLoginModal vs openModalLogin
With this typo fixed, it all seems to work fine!
I follow "Minimal Modal Sticky States demo" to create this codepen: http://codepen.io/lbngoc/pen/zoVMEE Currently, the modal is showing when use "ui-sref", but when I go to state from $state.go, nothing is happened... Please help to take a look and give me some advices..