You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I loe the concept of the directive. When I include the dm.Style model as a dependency in my app, ng-show no longer works. Inspecting the dom, I find that the "display:none" style is simply not applied. Any idea why?
The text was updated successfully, but these errors were encountered:
I saw the same problem - the style directive as implemented breaks the style angular inserts in the head. I'm sure there are a bunch of ways to solve this. I chose to do this (using jquery)
if (element.html() && !$.contains(document.head,element.get(0))) {
which prevents the style directive from working inside the head (which isn't an issue for me but might be for others).
I loe the concept of the directive. When I include the dm.Style model as a dependency in my app, ng-show no longer works. Inspecting the dom, I find that the "display:none" style is simply not applied. Any idea why?
The text was updated successfully, but these errors were encountered: