Reputation: 758
I am using Visual Studio Community 2015 to build HTML-Pages as I like the editor. Today I am working on a page which generates its content with AngularJS and is being formatted by Fullpage.js Now I am trying to debug my page. When I am launching it with F5 on Visual Studio, Angular works as it should and creates all data I want it to create, but fullpage.js does not work (no console errors, just not doing anything at all). If I am opening the html file manually in my browser, the exact opposite happens: Angular does not work (I tracked it down to the part of my code where I fill my $scope via $http.get() to a local json file), but fullpage.js seems to work fine, just without content.
I imported fullpage, angular and jquery through the nuget packet manager, might that be the issue or am I missing something?
Upvotes: 0
Views: 39
Reputation: 735
Have you tried to deploy your code to a different server instead of opening it up in your browser? This sounds like a CORS problem.
Upvotes: 1