var system = require('system')
var args = system.args

if (args.length == 1) {
  system.stderr.write("An URL needs to be specified as an argument.")
  phantom.exit(1)
}

var page = require('webpage').create()
var url = args[1]

page.open(url, function(status) {
  if (status == 'fail') {
    phantom.exit(1)
  } else {
    system.stdout.write(page.content)
    phantom.exit()
  }
})

@@ -312,16 +312,54 @@
  else %7B%0A
+    window.setTimeout(function () %7B%0A  
     syst
@@ -388,16 +388,18 @@
 ontent)%0A
+  
     phan
@@ -409,15 +409,28 @@
 .exit()%0A
+    %7D, 1500)%0A
   %7D%0A%7D)%0A

Add timeout to phantomjs render to wait for Angular