You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Apr 12, 2024. It is now read-only.
After developing an application, I had come across with great confusion.
can we use ngInit directive for Controller to initialize or get the data for the current view (controller)?
I am using ngInit for controller, since sometime the scripts are loading two times. If I call a server side method, in the controller function end, then two calls will go to the server.
If ngInit for controller is wrong to initialize data, can you please suggest a solution.