title: angular2 - how to set background image in particular component
body: <p>I am trying to set background image for particular components.I want to set image to entire html page of  example.component.html, but its not working for me</p>
  
  <p>example.component.css</p>
  
  <pre><code>html {background: url(assets/imagenew.jpg) no-repeat center center fixed;    -
                     webkit-background-size: cover;  
                    -moz-background-size: cover; 
                    -o-background-size: cover;   background-size: cover; } 
   body { background-color: transparent;    
          overflow: hidden; }
  </code></pre>