From 354779eedc86af0f379ff50026b758886c71aac7 Mon Sep 17 00:00:00 2001 From: Alex Rogers Date: Tue, 21 Jan 2014 11:06:25 +0000 Subject: [PATCH 1/2] Mention ng-min earlier in the tutorial Wish I knew about ng-min earlier, would have saved me hours! --- .../guide/dev_guide.services.managing_dependencies.ngdoc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/docs/content/guide/dev_guide.services.managing_dependencies.ngdoc b/docs/content/guide/dev_guide.services.managing_dependencies.ngdoc index 6dafc3f76de9..736505882f77 100644 --- a/docs/content/guide/dev_guide.services.managing_dependencies.ngdoc +++ b/docs/content/guide/dev_guide.services.managing_dependencies.ngdoc @@ -96,7 +96,9 @@ $route} service as well as our custom `batchLog` service. to declare their dependencies. It is important that the order of the string identifiers in the array is the same as the order of argument names in the signature of the factory function. Unless the dependencies are inferred from the function signature, it is this array with IDs and their order -that the injector uses to determine which services and in which order to inject. +that the injector uses to determine which services and in which order to inject. This becomes +irrelevant however if you use a tool like ng-min in your workflow which allows you to use the simpler +signature notation within your codebase and automatically converts to the array notation prior to minifying. ## Related Topics From cc11089d4e67c0530d87710acbcfa90040ac900a Mon Sep 17 00:00:00 2001 From: Alex Rogers Date: Mon, 21 Apr 2014 21:46:16 +0100 Subject: [PATCH 2/2] linking https://github.com/btford/ngmin#ngmin --- .../guide/dev_guide.services.managing_dependencies.ngdoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/content/guide/dev_guide.services.managing_dependencies.ngdoc b/docs/content/guide/dev_guide.services.managing_dependencies.ngdoc index 736505882f77..918439bc94a9 100644 --- a/docs/content/guide/dev_guide.services.managing_dependencies.ngdoc +++ b/docs/content/guide/dev_guide.services.managing_dependencies.ngdoc @@ -97,7 +97,7 @@ to declare their dependencies. It is important that the order of the string iden is the same as the order of argument names in the signature of the factory function. Unless the dependencies are inferred from the function signature, it is this array with IDs and their order that the injector uses to determine which services and in which order to inject. This becomes -irrelevant however if you use a tool like ng-min in your workflow which allows you to use the simpler +irrelevant however if you use a tool like [ng-min](https://github.com/btford/ngmin#ngmin) in your workflow which allows you to use the simpler signature notation within your codebase and automatically converts to the array notation prior to minifying.