lucasb / angular-multicomponent

How to build a multi component web app with AngularJS and share data simultaneously.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Angular Multi-component

Description

That code is an example of how we can share data between components and modules. The propose here is to use a share service that use two way data binding to change a data simultaneously. So, when it is done in a module, it will be reflected on others modules or componentes at the same time. The data share server pattern is a good approach to avoid unnecessary broadcasts or root scope variables.

See explanation in this tutorial: https://medium.com/@lucasboscaini/share-data-between-modules-and-components-with-angularjs-56d320a19b6f

License

MIT License

Copyright (c) 2017 Lucas Boscaini

About

How to build a multi component web app with AngularJS and share data simultaneously.

License:MIT License


Languages

Language:JavaScript 52.0%Language:HTML 48.0%