1
I have an app full of Ajax that needs to get data via Webservice when the page loads. I’ve already initialized via ng-init
but I don’t know how to have the controller "load" and execute the code block that retrieves the data. When I insert the function into a ng-click
and click on the element it works, but only so.
How do you set a boot process for a controller?
Put your code so we can help.
– Vinícius Gobbo A. de Oliveira