$rootScope.$on("conv", function() {
var cobject = nservice.getconvo();
console.log("cobject", cobject);
$scope.cnotifications= cobject.convos;
$scope.num_unread= cobject.num_unread;
});
This function is inside a controller.That controller is loading up only on page refresh.Its fethching the data from service when on page refresh.