Add and remove a memory beast

I’m making my first Ember app. I have a div that is normally full of static content, however if the user presses a button, I wish to load a piece of live running javascript (essentially a graphic) that is probably a memory beast (i.e. uses a lot of memory). I can’t figure out how to swap these static content and the memory beast (hopefully in a way that removes all the memory consuming code). I don’t want to switch routes.

One idea was to use a container view and have the two views as subviews that I can add and remove, but it seems like if you use a container view, then it has to be the container view for the whole page and I have other areas on my page with different content. Making the whole page a containerview with a lot of subviews doesn’t seem like an ember way to do things. Can you advise