Skip to Content
Home › Forums › Older releases › 0.9.x › SmartMenus with AngularJS › Re: SmartMenus with AngularJS
The initialization code is basically the following:
So in your case you would need to call this as soon as the menu element is populated by the AngularJS code.
In case you need to call this before the HTML is inserted (for any reason), you can then call the refresh API method after it is populated to refresh your menu tree:
You can find a short code sample in the docs:
You will be emailed a link to set your password.
Username or Email Address
You will receive emails only on new version releases or really important news. Your email will not be shared with anyone. We hate spam too!