angularjs - Cross origin with Angular ui-router -


i trying run simple angular ui-router project , getting known error: cross origin requests supported protocol schemes: http, data, chrome, chrome-extension, https, chrome-extension-resource.

the urls presented in following way: file:///c:/test/routing/testrouting.html#/route1. have nodejs installed in windows 10 machine. in format have write files , have nodejs?

this piece of code:

angular.module('routingexample')     .config(function($stateprovider, $urlrouterprovider){        // unmatched url, send /route1       $urlrouterprovider.otherwise("/route1")        $stateprovider         .state('route1', {             url: "/route1",             abstract:true ,             templateurl: "route1.html"         })       ... 


Comments

Popular posts from this blog

aws api gateway - SerializationException in posting new Records via Dynamodb Proxy Service in API -

asp.net - Problems sending emails from forum -