I would like to be able to make a constant like
var BASE_URL = 'http://example.com';
and make it accessible in all of my kraken JS controllers. Where should I define this?
Thanks.
put global.BASE_URL = 'http://example.com'; at the beginning of you application code.
global.BASE_URL = 'http://example.com';
put
global.BASE_URL = 'http://example.com';
at the beginning of you application code.