add missing require
EPIC REFACTORING

move most RootCtrl behavior into a Cards service
use coffeescript for-loops instead of Object.keys.forEach
make a directive for scroll-to-card behavior
partly implement inline editing (just for text fields)
start factoring modal editing into a service