title: How to display Image in Div using Angular Js
body: <p>This code is working fine To display Image in Img Tag
      
        
      
      </p>
  
  <pre><code>$scope.isImage = function(ext) {
    if(ext) {
      return ext == "jpg" || ext == "jpeg"|| ext == "gif" || ext=="png"
    }
  }
  </code></pre>
  
  <p>Here is working demo <a href="http://plnkr.co/edit/rAZVSFRURCkgxQrZAtvO?p=preview" rel="nofollow">http://plnkr.co/edit/rAZVSFRURCkgxQrZAtvO?p=preview</a></p>
  
  <p>I would like to display Image in </p>
  
  <pre><code>&lt;div style="background-image:url(How can i get browsed image file)"&gt;&lt;/div&gt;
  </code></pre>