1
I’m starting with Angularjs and to study I created an application I saw on the internet, but when I use the command
"ng-include="'Footer.html'" inside the div it gives an error in the console.
angular.js:12578 Xmlhttprequest cannot load file:File Path. Cross origin requests are only supported for Protocol schemes: http, data, Chrome, Chrome-Extension, https.
I already changed the permissions of the folder so that everything had access and it still didn’t work.
Leonardo, I don’t know anything angular, if I create an application in . net mvc I can work it the same way is that ?
– Gabriel Rodrigues
Angular is used for Frontend, usually you will need some other language for Backend, it is quite common to use the ASP.Net Webapi for this and nothing prevents you from having both in the same project to take advantage of Iisexpress to be able to test your program.
– Leandro Godoy Rosa