My angular app is running smoothly, but now I want to add animations between views. When a user clicks on a link in the navbar, I want the view to slide to a different one.
I was inspired by this example: Sliding between views. However, when I implemented it, the footer ended up in the middle of the screen and the navbar got hidden behind the sliding view. The issue seems to be with this code:
<div ui-view class="slide"></div>
I'm not sure where to place it correctly. I tried putting it above the navbar, but that made the navbar slide as well. Then I moved it below the navbar, which worked, but the entire view slid on top of the header and behind the footer, instead of sliding with the footer at the bottom and the header at the top as intended.
This is how it should look:
[Original layout]
But unfortunately, it looks like this:
[Incorrect layout]
Any help on resolving this issue would be greatly appreciated. Thank you.
<!-- Remaining HTML content goes here -->