change the "$scope.projects = projects;"  in homecontroller;