Angularjs – SnippetBox


No code, no explanation, no examples nothing here..just only sharing links from stackoverflow/jsfiddle/plunker/other for some useful concepts.

Communication between controllers – clickhere

Broadcasting example – clickhere

AngularJS Directive – Receiving a broadcast from $rootscope – check this

Send $scope from one controller to another controller – how? use $broadcast and $on for downwards hierarchy and $emit and $on on upward hierarchy – clickhere

If you want to $broadcast use the $rootScope: clickhere

Understanding Angular’s $scope and $rootScope event system $emit, $broadcast and $on: clickhere


One thought on “Angularjs – SnippetBox

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s