In order to implement a fullscreen CSS background for a specific view in my app, I attempted adding a class to the body
. However, this approach caused the background to persist in the cache and remain visible when switching views.
The challenge arises from the fact that my
<div ng-view=""></div>
is nested inside the <body>
, making it difficult to apply a fullscreen background directly within the view itself.