config.js
angular.module("steam")
.value("config", {
baseurl: "http://dev-back1.techgrind.asia/"
});
I have to access the value outside the module by replacing the "http://dev .." with config.baseurl
test.js
var frisby = require("frisby");
frisby.create("Status test")
.get("http://dev-back1.techgrind.asia/scripts/rest.pike?request=test")
.expectStatus(200)
.toss();
$scopedocs.angularjs.org/guide/scopeconfig.baseurl. But, test.js is outside the module and I want to accessconfig.baseurlhere. How to?