I'd like to use the google diff/match/patch lib in an angular app to show the difference between two texts.
My usage would be something like this:
public ContentHtml: SafeHtml;
compare(text1: string, text2: string):void {
        var dmp = new diff_match_patch();
        dmp.Diff_Timeout = 1;
        dmp.Diff_EditCost = 4;
        var d = dmp.diff_main(text1, text2);
        dmp.diff_cleanupSemantic(d);
        var ds = dmp.diff_prettyHtml(d);
        this.ContentHtml = this._sanitizer.bypassSecurityTrustHtml(ds);
}
Problem is, how do I import diff_match_patch for this line?
var dmp = new diff_match_patch();
