Tuesday, 8 April 2014

ng-model not operative properly?

I have some HTML combined as so:and we have a non-static announced in my
AngularJS controller announced as so:$scope.createId = ""; //Initially a
non-static is empty.Now, we can stock a domain by inputting some calm into
it. However, when we try to make a call in another duty to see if
$scope.createId is lifeless or not, even when we quarrel some calm into a
calm field, $scope.createId still shows adult to be empty. This is how we
checked if it was lifeless or not:if(!$scope.createId){
alertify.error("ERROR: Missing Creation Id"); return;}I'm not certain
since $scope.createId is not updating boldly when we put calm into a calm
field. Any ideas? Thanks!

No comments:

Post a Comment