Refactored subapp "Notebooks". Repetitive code has been moved into behaviors.
Now controllers will be destroyed when they are not under use.