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

javascript - three.js lot of meshes optimization -

smartface.io - Proper way to change color scheme for whole application -

Email notification in google apps script -