How do I refresh a rootscope?
???
As Justin Bieber would say “What do you mean?”
I would like, with a button, refresh my data.
so first
- create the html for the button
- find out how you can connect your button to your controller
- what is your data? is it a serivce? is it een database?
- search the forum on how to refresh the data (most common way is via event)
please show us code formatted (html / controllers / services) otherwise we (the community) can’t help you.
Also I would suggest to read on how AngularJS works and design patterns
good luck!