title: Convert XML url to JSON url in AngularJS
body: <p>Is there a way to convert XML url to JSON url so that I can use it in my website ?</p>
  
  <pre><code>{"breakfast_menu": {
  "food": [
    {
      "name": "Belgian Waffles",
      "price": "$5.95",
      "description": "Two of our famous Belgian Waffles with plenty of real maple syrup",
      "calories": "650"
    },
    {
      "name": "Strawberry Belgian Waffles",
      "price": "$7.95",
      "description": "Light Belgian waffles covered with strawberries and whipped cream",
      "calories": "900"
    },
    {
      "name": "Berry-Berry Belgian Waffles",
      "price": "$8.95",
      "description": "Light Belgian waffles covered with an assortment of fresh berries and whipped cream",
      "calories": "900"
    },
    {
      "name": "French Toast",
      "price": "$4.50",
      "description": "Thick slices made from our homemade sourdough bread",
      "calories": "600"
    },
    {
      "name": "Homestyle Breakfast",
      "price": "$6.95",
      "description": "Two eggs, bacon or sausage, toast, and our ever-popular hash browns",
      "calories": "950"
    }
  ]}}
  </code></pre>
  
  <p>Suppose the URL is given as <a href="http://www.w3schools.com/xml/simple.xml" rel="nofollow">http://www.w3schools.com/xml/simple.xml</a> then how can I convert that to JSON so that I can use it in AngularJS</p>