Fix: Fixes templateSrv is undefined for plugins that do not use @@ngInject (#20696)
Fix: Fixes templateSrv is undefined for plugins that do not use @@ngInject (#20696)

Fixes #20662
grafana/grafana,grafana/grafana,grafana/grafana,grafana/grafana,grafana/grafana,grafana/grafana,grafana/grafana