From 766b962eac23a9af72870b63e9b086efb3fac080 Mon Sep 17 00:00:00 2001 From: Peter Bacon Darwin Date: Fri, 16 May 2014 12:13:19 +0100 Subject: [PATCH] docs(guide/services): add reference to ngmin tool Closes #5908 --- docs/content/guide/services.ngdoc | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/docs/content/guide/services.ngdoc b/docs/content/guide/services.ngdoc index bc2a4f85..5abede31 100644 --- a/docs/content/guide/services.ngdoc +++ b/docs/content/guide/services.ngdoc @@ -130,8 +130,14 @@ injection of `$window`, `$scope`, and our `notify` service:
-**Careful:** If you plan to [minify](http://en.wikipedia.org/wiki/Minification_(programming) your code, -your variable names will get renamed unless you use one of the annotation techniques above. +**Careful:** If you plan to [minify](http://en.wikipedia.org/wiki/Minification_(programming) your +code, your variable names will get renamed unless you use one of the annotation techniques above. +
+ +
+ If you use a tool like [ngmin](https://github.com/btford/ngmin#ngmin) in your workflow you can + use implicit dependency notation within your codebase and let **ngmin** automatically convert such + injectable functions to the array notation prior to minifying.