On Wed, Mar 5, 2014 at 4:27 PM, John McPeek <juan.mcp...@gmail.com> wrote:
> e getter that is returned doesn't have an assign function. I see in the docs
> that I only get assign when the expression is assignable. What are the rules
> on assignable or not?

More or less the same as in JavaScript. Think about it like this: what
can I have on the left-hand side of the = in JavaScript?

"true" = "bar"

wouldn't work in JS, nor

true = "bar"

but var foo = bar

would.

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 angular+unsubscr...@googlegroups.com.
To post to this group, send email to angular@googlegroups.com.
Visit this group at http://groups.google.com/group/angular.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to