workaround for structural animations not running on application start-up in angular