[Solved] how to pass viewbag data from view to another component template that I call in this view


If I understood correctly you can do this by using the same controller for your second view, like writing ng-controller="SameController" or creating an angular service or factory and sharing your data between two different controllers that each one serves a specific template/view.

6

solved how to pass viewbag data from view to another component template that I call in this view