Use annotated function form to prevent ng-strict-di breaking

Use annotated function form to prevent ng-strict-di breaking