You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
But the $rootscope.data value changed is read and works only on the first windows, if i have 2 electron windows open doens't work. The 2° windows load the default $rootscope.data
i want that the 2 electron windows display the changed data in the same moment.
How can do this? How can pass scope on all electron windows?
regards,
The text was updated successfully, but these errors were encountered:
hi,
how can i pass $scope and another variabile with angular on many electron windows?
This is my project:
i have my angular app with your ng-electron. It is very good!
in my index.html i have 2 controllers: home and data.
my data controller html into index.html is:
in home controller i have a function to create another electron window with (electron.browserWindow etc) where i load another html file (index2.html).
so, i have 2 electron windows with different html file but same angular controller.
In this index2.html i have the same data controller. This:
in data controller, i have inserted the $rootScope.$watch and other to read the new value of $rootscope.data that i change in my first window.
But the $rootscope.data value changed is read and works only on the first windows, if i have 2 electron windows open doens't work. The 2° windows load the default $rootscope.data
i want that the 2 electron windows display the changed data in the same moment.
How can do this? How can pass scope on all electron windows?
regards,
The text was updated successfully, but these errors were encountered: