In this lesson, we are going to learn how to use the gulp-inject
plugin to sanely and efficiently manage our file references with our HTML. Manually declaring JavaScript references will quickly get out of hand as your application grows in size and complexity. The gulp-inject
plugin solves this problem by taking a stream of files, converting them into string references and then injecting those references into your HTML via annotations.