Hi Hoàng,
You don't need to broadcast data to children. If you put data on the scope
like this: `$sope.config={hello:'world'}` you can just use it anywhere down
the inheritance tree.
However, while this will work, it's not something you should do without
thinking about it. Often the better solution is to put the data inside an
service, and share that service where you need it.
I will build you a small example, Be back in a little while!
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.