title: Stuck between ngRepeat, ngSrc, ngHref and JSON objects in AngularJS
body: <p>I'm trying to set a simple ng-repeat but it doesn't work. I included <code>angularJS</code>, then two angular modules (<code>ngTouch</code> and <code>ngAnimate</code> because I need them for other purposes) and I included my Angular scripts files. I set the <code>ng-repeat</code> on a simple element that contains the <code>src</code> of an image and <code>href</code> of a link that should be taken from a <code>JSON</code> object from the <code>angular</code> script files. But the <code>ng-repeat</code> is transformed into a <code>HTML</code> comment.</p>
  
  <p>index.html:</p>
  
  <pre><code>&lt;div class="container-mini" data-ng-controller="graphicsController as portfolioGraphics"&gt;
      &lt;div class="content coming-soon lang"&gt;&lt;/div&gt;
      Flyers, posters, personal art, etc &lt;br /&gt;
      &lt;a data-ng-repeat="graphic in graphics" class="fancybox-thumb" rel="fancybox-thumb" data-ng-href="img/graphics/{{graphic.href}}" title="my title"&gt;
          &lt;img data-ng-src="img/graphics/thumbs/{{graphic.src}}" alt="my alt" /&gt;
      &lt;/a&gt;
      &lt;a class="fancybox-thumb" rel="fancybox-thumb" data-ng-href="img/graphics/{{graphic.href}}" title="my title"&gt;
          &lt;img data-ng-src="img/graphics/thumbs/{{graphic.src}}" alt="my alt" /&gt;
      &lt;/a&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p>script.js:</p>
  
  <pre><code>app.controller('GraphicsController', function() {
      this.items = graphics;
  });
  
  var graphics = [
      {
          href: "brand-delices-carte.jpg",
          src: "brand-delices-carte.jpg",
      },
      {
          href: "brand-delices-flyer.jpg",
          src: "brand-delices-flyer.jpg",
      },
      {
          href: "brand-delices-carte.jpg",
          src: "brand-delices-carte.jpg",
      }
  ];
  </code></pre>
  
  <p>Thanks =)</p>
  
  <p>Edit : the link after my <code>ngRepeat</code> link is just for testing purposes (if it would work inside a normal link without <code>ngRepeat</code>)</p>