onInit method
void
onInit()
Performs initialization when the controller is created.
Implementation
void onInit() {
// loaded = true;
}
Performs initialization when the controller is created.
void onInit() {
// loaded = true;
}