-
Notifications
You must be signed in to change notification settings - Fork 578
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
update view #44
Comments
Hello @Vikas-Stormy , can you explain the issue with more details ? |
need to refresh the file list and folder list both upon clicking a button thank u jonas |
Ok, how are you binding the button click event? |
i have a scope problem jonas i have an another app angular js app ng-flow i need to integrate both of can u suggest some tips what need to take care of when merging both of it .like as they both have the conrtrollers when i use FileManagerCtrl outside of the i am getting a scope problem |
You could use $rootScope to unify actions of multiple controllers Another way is to do something like <div ng-controller="YourAppCtrl">
lalala
<div ng-controller="FileManagerCtrl">
<button ng-click="fileNavigator.refresh()">Refresh</button>
</div>
</div> |
thank you jonas u r helping me alot ,i have solved this by using another approach |
hello jonas ,i have a requirement that based upon the button click event i just need to refresh the folders i,e
i have created a function in FileManagerCtrl
and in that i have called the $scope.fileNavigator.refresh();
it is sending a post request to server fine but it is not updating in the view
can u plz provide a solution for that
by example of front end button and the function in FileManagerCtrl
The text was updated successfully, but these errors were encountered: