Fixed the issue with how angular renders