Fixed deepwatching $scope variable bug