title: AngularJS - Show byte array content as image
body: <p>I'm searching into my database a image as a byte array. I want to show this content as file using the markup <em>image</em>, but it doesn't work here.</p>
  
  <pre><code>// Controller which get my image and put into $scope.
  function MyController($scope, $http, $location) {  
  
      var url = '/json/FindImage?id=1';  
      $http.get(url).success(function(result) {  
          $scope.image = result.Image;  
      }  
  }  
  
  // HTML
  &lt;!-- It doesn't work --&gt;  
  &lt;img src="{{image}}" /&gt;  
  &lt;!-- It doesn't work also --&gt;  
  &lt;img ng-src="{{image}}" /&gt;  
  </code></pre>
  
  <p>Any idea?
  Thank you all!</p>