0

Already put all the possible parameters and data in a URL does not return xml. the XML locally hosted works, but not with URL.

HTML:

<section ng-controller="AppController" class="container-podcastapp">
         <ul>
            <li ng-repeat="guitar in dataSet">
               <div class="resultwrapper">
                   <h2>{{guitar.make}} {{guitar.model}}</h2>
                </div>
            </li>
          </ul>
    </section>

javascript and fiddle

1 Answers1

1

First your jsfiddle example was not working. I fixed it for you: http://jsfiddle.net/WhU2d/2/

And now you'll see the problem in console:

XMLHttpRequest cannot load http://cristianoveloz.com/podcast5/scripts/guitars.xml.
Origin http://fiddle.jshell.net is not allowed by Access-Control-Allow-Origin.

And for this issue you'll find many other entries, like this one.

Community
  • 1
  • 1
Armin
  • 15,582
  • 10
  • 47
  • 64
  • I guy really rushed and I did not even notice, also lacked an external file that converts xml to json. Thanks. http://jsfiddle.net/WhU2d/3/ – cristiano veloz Aug 06 '13 at 20:36