Don't cache resources; revise app path design
Add existence checks for resource properties
Format source code
Don't initialize the editor before the content is loaded
Add missing button click handlers
Reload controller if the selected project/file changes
Editor needs to be at controller scope
Format source code
Revise app path design
Don't reload on dropdown menu open