In this coffee break course, Envato Tuts+ instructor Reggie Dawson will show you some simple techniques for sharing data between Angular controllers. You'll see how to pass data with services and you'll also learn a trick for passing parameters along with router state.
[SOUND] AngularJS has become the go to framework for many users. Those that use this framework have become comfortable with the patterns the framework uses. One of the limitations of this framework is the ability to share data between controllers. Control this from the backbone of an angular app and normally they are unable to pass data between each other. Unfortunately what many developers don't know is that it is relatively simple to share data between controllers. In this video, I will go over a few methods that will allow us to share data between our angular controllers. After the video, you should look at your angular apps in a new way and perhaps you will come away with a few tricks that you can use in the future.Back to the top