Updated app/scripts/controllers/rootCtrl.js