I am able to take a screenshot using html2canvas in angular 4 but i need to send the string image to the server side using a http post call
Make sure to import the script under the scripts list in angular-cli.json
"scripts": [ "../node_modules/html2canvas/dist/html2canvas.min.js" ]
And in the class as:
import * as html2canvas from "html2canvas"