[users at bb.net] How to access global property from AngularJS www-frontend?
demakov at ispras.ru
Thu Apr 20 11:30:25 UTC 2017
My www plugin requires some static info from configuration's global
properties. I've read 3.1.7. Configuration in AngularJS
but not found a solution. I found config constant but it contains not
This constant is initialized in www/config.py:
IndexResource.renderIndex() method. I added my property and successfully
got it in AngularJS controller.
Is it possible to expose global property to AngularJS code without
modifying buildbot's code?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the users