I trying to add a web item at system.top.navigation.bar and open the vm file as dialog, the dialog is open perfectly but I can't add a web resource $webResourceManager.requireResource("").
My question is how to add javascript file from web resource
Thanks in advance