Unlimited Plugins, WordPress themes, videos & courses! Unlimited asset downloads! From $16.50/m

Next lesson playing in 5 seconds

Cancel

Free Preview: Sharing Data Between Angular Controllers

Introduction

00:42
  • Overview
  • Transcript

AngularJS has become the go-to framework for many web developers. It is an all-in-one solution for quickly building front-end single-page web applications. A trade-off, though, is that we have to work around the system's limitations. One of these is the difficulty of communicating between controllers.

In this Coffee Break Course, designed to teach a new skill or concept in a single sitting, 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.

We've built comprehensive guides to help you learn JavaScript, AngularJS, and Angular 2, whether you're just getting started or you want to explore more advanced topics.

1.Sharing Data Between Angular Controllers
2 lessons, 11:58

Free Lesson
1.1
Introduction
00:42

1.2
Sharing Data Between Angular Controllers
11:16


1. Sharing Data Between Angular Controllers

1.1 Introduction

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