Use Angular to animate prime number calculation using Sieve of Eratosthenes