Autodownloading angular code