Search Posts

Reload the data on each visit

I fill a list of data via API interface. For this I call the function loadData () via the view with ng-init = “loadData ()” in the controller. If I now change the view and back again, loadData () should be run again, so that new data is loaded. How can I force this? I would like to re-visit the view that the data is recalled.

Source: AngularJS

Leave a Reply

Your email address will not be published. Required fields are marked *