Dear All,

I am facing an situation in my code below:
 
$scope.EmailLabel = function (model) {  
           // alert("test");
          if ($scope.GetEmails.length > 0) {
              for (var i = 0; i < $scope.GetEmails.length; i++) {
                  if (model === $scope.GetEmails[i].Value) {  
                    return $scope.GetEmails[i].Text;
                    //$scope.Refresh();  
                  }
              }
          }
        }

from the above code i am binding the value to TextBox. But here issue is 
when I keep the "Alert" then the Email binding in TextBox properly.
If I remove "Alert" then the Email not binding to TextBox. Its showing 
blank.

Can any one help on this  please.

Thanks
Bhanu Prakash Inturi

-- 
You received this message because you are subscribed to the Google Groups 
"Angular and AngularJS discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.

Reply via email to