added syntax for supporting ng-strict-di

Some small additions to enable usage of this component when running angular in strict-di mode.