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

enter image description here

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);  }
, in server.js must have define route


Comments

Popular posts from this blog

sql - invalid in the select list because it is not contained in either an aggregate function -

Angularjs unit testing - ng-disabled not working when adding text to textarea -

How to start daemon on android by adb -