Hi peeps

I'm following the classic hello world tutorial, I type:

<!DOCTYPE html>
<html ng-app>
<head>
<title>
 </title>
</head>

<body>
<input type="text" ng-model="blah" /> 
<p>{{ng-blah}}</p>
 <script src="angular.js"></script>
</body>
</html>

the tutorial says I should see the input text bound to the view variable 
but the output is being cast to a negative number - I put -1 in I get an 
output of 1, I put 1 in I get -1. If I try to put text in it's throwing 
NaN.  Any idea what's going on?

Thanks

-- 
You received this message because you are subscribed to the Google Groups 
"AngularJS" 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 http://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.

Reply via email to