diff --git a/gulpfile.js b/gulpfile.js
index 78d1a95e4380f7bdab36ec76f0b3f4b7cb81592e..6690fd53f2b6ba0962ad969d447a3fde2ccb043e 100644
--- a/gulpfile.js
+++ b/gulpfile.js
@@ -38,7 +38,7 @@ var paths = {
   templates: ['./www/templates/**/*.html'],
   templatecache: ['./www/templates/**/*.html'],
   ng_translate: ['./www/i18n/locale-*.json'],
-  ng_annotate: ['./www/js/*.js']
+  ng_annotate: ['./www/js/**/*.js']
 };
 
 gulp.task('default', ['sass', 'config', 'templatecache', 'ng_translate', 'ng_annotate']);