No 'Access-Control-Allow-Origin' header is present on the requested resource

XMLHttpRequest cannot load http://10.1.25.88/INSIX.DINSIX.WAP/SVCTimeSheetJson.svc/ListarTimetrackerPo…param0=D033E22AE348AEB5660FC2140AEC35850C4DA997&param1=2014-10-22&param2=1. No ‘Access-Control-Allow-Origin’ header is present on the requested resource. Origin ‘http://10.1.25.88:8100’ is therefore not allowed access.
I’m getting this error when I try to access my application through the browser, using “ionic serve” cmd line.
PS: 10.1.25.88 is localhost.

This is the code invoked:

    listarTimetrackerPorData: function (data, cod_profissional_prf) {
        url_webservice = URL_CONST + 'ListarTimetrackerPorDataJSON?param0=' + CH_TIMETRACKER_CONST + '&param1=' + data + '&param2=' + cod_profissional_prf;
        return $http.get(url_webservice).then(function (JSONresp) {
            return JSONresp;
        });
    },

What’s wrong?

Its security issue related with browser.try to run the app in android device it will work fine

You have a separated service that receive this GET right?

You should enable CORS in the webserver to enbale this kind of request OR use JSONP.

Further Reading: http://enable-cors.org