Skip to content
This repository was archived by the owner on Apr 12, 2024. It is now read-only.

Commit 766b962

Browse files
docs(guide/services): add reference to ngmin tool
Closes #5908
1 parent 0388eed commit 766b962

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

docs/content/guide/services.ngdoc

+8-2
Original file line numberDiff line numberDiff line change
@@ -130,8 +130,14 @@ injection of `$window`, `$scope`, and our `notify` service:
130130
</example>
131131

132132
<div class="alert alert-danger">
133-
**Careful:** If you plan to [minify](http://en.wikipedia.org/wiki/Minification_(programming) your code,
134-
your variable names will get renamed unless you use one of the annotation techniques above.
133+
**Careful:** If you plan to [minify](http://en.wikipedia.org/wiki/Minification_(programming) your
134+
code, your variable names will get renamed unless you use one of the annotation techniques above.
135+
</div>
136+
137+
<div class="alert alert-info">
138+
If you use a tool like [ngmin](https://github.com/btford/ngmin#ngmin) in your workflow you can
139+
use implicit dependency notation within your codebase and let **ngmin** automatically convert such
140+
injectable functions to the array notation prior to minifying.
135141
</div>
136142

137143

0 commit comments

Comments
 (0)