Skip to content

Instantly share code, notes, and snippets.

@umdstu
Created August 26, 2015 16:50
Show Gist options
  • Save umdstu/29eb45351ea8fe6d1953 to your computer and use it in GitHub Desktop.
Save umdstu/29eb45351ea8fe6d1953 to your computer and use it in GitHub Desktop.
<div ng-controller='NavController'>
<div ng-if='auth.isAuthenticated()'>
<div class='slideInLeft' ng-include='topnav'></div>
<div class='slideInLeft' ng-include='sidenav'></div>
</div>
</div>
.slideInLeft.ng-enter,
.slideInLeft.ng-leave {
position: absolute;
display: block;
transition: all cubic-bezier(0.250, 0.460, 0.450, 0.940) 1s;
top: 0;
bottom: 0;
left: 0;
right: 0;
}
.slideInLeft.ng-enter {
top: -50px;
}
.slideinLeft.ng-enter.ng-enter-active {
top:0px;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment