added in angular logic to see if assets are working