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
{{ message }}
This repository was archived by the owner on Feb 22, 2018. It is now read-only.
<ahref="#/view1">Switch to View 1</a><ahref="#/view2">Switch to View 2</a><div><ng-view></ng-view></div>
I get this switching back and forth views:
Removing ng-if directive fixes the problem.
I am trying to do this as a workaround for animating the view transitions. ng-if="true" allows the root node to be injected to DOM via viewport and animates the view.
mehmetf
changed the title
Using ng-if directive at the beginning of a view messed
Using ng-if directive at the root node of a view messes up the destroy()
Sep 30, 2014
This looks like a bug. We're going to defer until after 0.15 -- as a workaround, if you enclose your HTML in a <div> tag, you should see this work as expected.
<div>
<a href="#/view1">Switch to View 1</a>
<a href="#/view2">Switch to View 2</a>
<div>
<ng-view></ng-view>
</div>
</div>
No description provided.
The text was updated successfully, but these errors were encountered: