Skip to content

Commit

Permalink
enforce that services are defined later
Browse files Browse the repository at this point in the history
  • Loading branch information
swimmadude66 committed Jan 12, 2016
1 parent 76fe6dd commit 3c595c3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions gulpfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ gulp.task('usemin', ['bower', 'copy_views'], function(){
return gulp.src('src/client/index.html')
.pipe(usemin({
ng: [ngAnnotate(), uglify(), 'concat'],
services: [ngAnnotate(), uglify(), 'concat'],
js: [ngAnnotate(), uglify(), 'concat'],
css: [uncss({html:['dist/client/**//*.html'], ignore:[/embed/i, /video/i, /iframe/i]}), nano(), 'concat']
})
Expand Down
2 changes: 2 additions & 0 deletions src/client/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,8 @@
<script type="text/javascript" src="controllers/authcontroller.js"></script>
<script type="text/javascript" src="controllers/chatcontroller.js"></script>
<script type="text/javascript" src="controllers/userlistcontroller.js"></script>
<!-- endbuild -->
<!-- build:services js/appservices.min.js -->
<script type="text/javascript" src="services/authservice.js"></script>
<script type="text/javascript" src="services/chatservice.js"></script>
<script type="text/javascript" src="services/mediaservice.js"></script>
Expand Down

0 comments on commit 3c595c3

Please sign in to comment.