Hi,
To send barcode value entered in the text, you need add ng-model directive
as follows,
<input type="text" name="barcode" ng-model="barcode" />
but that is not enough, if you want to fill description based on user input
(compiled input tag?), you might have to use $scope.$watch on barcode as
below
$scope.$watch(function () { return $scope.barcode; }, function (nv, ov, sc)
{
//$http not a good idea though
});
--
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.