component.html use NgIf directive with conditions to be checked. Serve the angular app using ng serve to see the output. Example 1:.
確定! 回上一頁