Since angiogenesis has an indispensable effect in the development and progression of tumors, in this study we aimed to identify angiogenic genes closely associated with prognosis of HCC to establish diagnostic, prognostic, and recurrence models. We analyzed 132 angiogenic genes and HCC-related RNA sequence data from the TCGA and ICGC databases by Cox and least absolute shrinkage and selection operator (LASSO) regression, and identified four angiogenic genes (ENFA3, EGF, MMP3 and AURKB) to establish prognosis, recurrence and diagnostic models and corresponding nomograms. The prognostic and recurrence models were determined to be independent predictors of prognosis and recurrence (P < 0.05). And compared with the low-risk group, patients in the high-risk group had worse overall survival (OS) rates in training cohort (P < 0.001) and validation cohort (P < 0.001), and higher recurrence rates in training cohort (P<0.001) and validation cohort (P=0.01). The diagnostic models have been validated to correctly distinguish HCC from normal samples and proliferative nodule samples. Through pharmacological analysis we identified piperlongumine as a drug for targeting angiogenesis, and it was validated to inhibit HCC cell proliferation and angiogenesis via the EGF/EGFR axis.