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
I am using AngularJS within Aura and decided to encapsulate my Angular 'modules' as Aura 'components'. I then have a 'main' component that sets up the main angular module which injects all the other defined angular modules into the main application.
The Issue
I need to run the following code within my 'main' Aura Component. It is responsible for setting up the 'main' Angular module which depends on several other Angular Modules which are defined within Aura Components. The issue I am having is I cannot seem to find an appropriate hook that lets me know that all Aura Components have loaded or a way of loading child componenets.
// Here I am setting up an angular module that depends on 3 other angular modules.Angular.module('mainApp',['myDirectives','myFilters','myModels'])
Possible Solutions which might already exist but I don't know about:
I imagine that Aura already has some event that it emits for the event described above but I don't know what it is
This issue can also be solved if its possible for one Aura Component to load a second Aura Component and provide the load method with a callback for when that 'child' component has finished loading. Is there such a method?
The text was updated successfully, but these errors were encountered:
Background Info
I am using AngularJS within Aura and decided to encapsulate my Angular 'modules' as Aura 'components'. I then have a 'main' component that sets up the main angular module which injects all the other defined angular modules into the main application.
The Issue
I need to run the following code within my 'main' Aura Component. It is responsible for setting up the 'main' Angular module which depends on several other Angular Modules which are defined within Aura Components. The issue I am having is I cannot seem to find an appropriate hook that lets me know that all Aura Components have loaded or a way of loading child componenets.
Possible Solutions which might already exist but I don't know about:
The text was updated successfully, but these errors were encountered: