title: Image not showing when generating pdf in angularjs using pdfmake
body: <p>I'm using <a href="http://pdfmake.org/#/" rel="noreferrer">pdfmake</a>, a nice pdf printing library in javascript to generate pdf in my angularjs SPA. Everything is working fine when I'm using only texts. The pdf is showing correctly with all texts in place. But it isn't working for me when I'm trying to show images. No error, no empty pdf, just nothing happens. There's no 404 either. </p>
  
  <p>Here's the code I'm trying right now,</p>
  
  <pre><code>var dd = {
          content: [
              {
                  image: 'picture13438908025659.jpg'
              },
              {
                  text: 'Patient\'s Detail', fontSize: 18, bold: true
              },
              {
                  columns: [
                      {
                          text: 'Patient\'s ID: ' + $scope.prescription.Patient[0].id, bold: false
                      },
                      {
                          text: 'Name: ' + $scope.prescription.Patient[0].name, bold: false
                      },
                      {
                          text: 'Age: ' + $scope.prescription.Patient[0].age, bold: false
                      },
                      {
                          text: 'Contact: ' + $scope.prescription.Patient[0].contact, bold: false
                      }
                  ]
  
              },
              {
                  text: 'Address: ' + $scope.prescription.Patient[0].address, bold: false
              }
          ]
      }
  </code></pre>