bugfix - initialize $scope.value to ''