Hey Sander:

Way cool.  My buddy and I looked over your plunker.  Very cool!  Thanks! 
 We've got our inheritance rolling now.

In regards to the dot rule, does this *equivalently suggest* that I store 
each of my controllers' non-function attributes in an object wrapper, s.t. 
my view's ng-model="some_controller_wrapper*.*controller_data" ?  I didn't 
see the dot rule heavily applied in your plunker.

Thanks for the help sir!

-Chris

On Tuesday, March 18, 2014 10:33:34 PM UTC-7, Sander Elias wrote:
>
> Hi Chris,
>
> I created a small plunk <http://goo.gl/Qbnmcx> to show how the controller 
> inheritance works.
>
> To answer your question, you can create a setter function, or you can use 
> an master object.
> You might have heard of the dot rule. (there should be a dot in everything 
> you put in the template!)
> that works too for scope inheritance. Objects are always inherited by 
> reference. So you will always 'talk' to a single instance of if.
>
> hmm, now I have come to think about it, I will add those to the plunk 
> too..
>
> Regards
> Sander
>
>
>
>
>

-- 
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