Then I will add the pipe to the *ngFor directive in the html. With angular cli I can run ng g pipe orderby in the root of my angular app.
確定! 回上一頁