angularjs - ng-admin how to connect remote server -
i green hand in ng-admin, , question is: possible connect remote server data? such as.
var admin = nga.application('qdns admin') .baseapiurl('http://remote host/');
many in advance
in admin.js file have configure api endpoints this:
myapp.config(['ngadminconfigurationprovider', function (nga) { // create admin application var admin = nga.application('name of admin') .baseapiurl('http://localhost:8080/api/'); //if have entity called users nga.configure(admin); }
Comments
Post a Comment