00:11 You can see that it used a minified version of Angular, but our code, we wrote, still isn't minified. So, let's go ahead and get this minified, so that everything's minified.
00:31 Let's go ahead and install it. You start by typing mpm install grunt-contrib-uglify and use the save dev flag so that it saves it to your package.json.
00:50 Once that's installed, let's go ahead and set it up in our Grunt file. Let's start by loading the task into our Grunt file.
00:56 To do this, we'll just add Uglify here. Now, we can add an Uglified section to our net config.
01:32 We'll take the concatinated file, we'll minify it, and replace itself in the build directory with our minified version of itself.
01:39 At this point, all we have to do is in the terminal, we run Grunt Uglify. Now that that's done, we can see that the files were minified. We can actually see how much they've shrunk during the minification.
01:53 We only had a few files, it didn't shrink a ton. With more code, it gets significantly smaller.
01:59 When you look at the code here, you can see that there's clearly a difference in our app.js. The minification happened and shrunk everything to as small as possible form.