updating bouncy balls demo so that it works with the latest version of Angular