javascript - AngularJS: Create two way binding $scope with ngDialog? -


i call ngdialog in maincontroller option controller: 'othercontroller' , gives me ability use maincontroller $scope in othercontroller, none of $scope variables created in othercontroller available maincontroller. question is, how can access othercontroller variables in maincontroller?

while not best option, put parts want transcend scope root scope, accessible entire application.


Comments

Popular posts from this blog

Email notification in google apps script -

c++ - Difference between pre and post decrement in recursive function argument -

javascript - IE11 incompatibility with jQuery's 'readonly'? -