Add a applicationLoaded action.

Call the action from the SpaApplicationElement once it's attached.