fixing dog controller
controller fixing
adding rootScope to controllers
trying to fix rootScope
error fixing
trying to make rootScope work