primeui rewrite in angular way