Sharing Data Between Controllers in AngularJS

Reference: http://stackoverflow.com/questions/21919962/share-data-between-angularjs-controllers Sharing data between controllers is quite common when using AngularJS. There are many ways that can make it: Scope inheritance Using services Using event Scope inheritance Scope inheritance has been mentioned in Passing Data Between Parent/Child Scopes in AngularJS. You can only share data between parent and child controllers by this way. Here is a simple example: In Html: …

Read More