On Tue, Jul 22, 2014 at 1:49 PM, banjax <[email protected]> wrote:
Your problem is here:
> {{ng-blah}}
Your ng-model directive binds input's value to the 'blah' model
variable while your expression uses arithmetic operation (minus) on 2
variables: 'ng' and 'blah'
Rewrite your expression as {{blah}} and things should become less mysterious.
I guess something led you believe that you need to ng-prefix model
values in the interpolated expressions ({{}}) which is not the case.
Cheers,
Pawel
--
AngularJS book:
http://www.packtpub.com/angularjs-web-application-development/book
Looking for bootstrap-based widget library for AngularJS?
http://angular-ui.github.com/bootstrap/
--
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.