added rootscope to case detail controller for ajax indicator