title: Creating minified js files using Grunt for AngularJS project
body: <p>I have an existing AngularJS project with tonnes of controllers and HTML pages. I need to use Grunt to create minified JS files. The issue is I am not able to work with Grunt. Whenever I run grunt commands I always get the error:</p>
  
  <blockquote>
    <p>'grunt' is not recognized as an internal or external command, operable
    program or batch file.</p>
  </blockquote>
  
  <p>I tried running </p>
  
  <blockquote>
    <p>npm install<br>
    npm install -g<br>
    npm install -g grunt-cli<br>
    npm install grunt --save-dev</p>
  </blockquote>
  
  <p>None of the above commands work for me. Can someone please point out what is the step by step process to work with Grunt? Here is what the package.json looks like:</p>
  
  <pre><code>{
    "name": "grunt-cache-bust",
    "description": "Bust static assets from the cache using content hashing",
    "version": "0.6.0",
    "author": "Ben Holland &lt;hi@benholland.me&gt;",
    "repository": {
      "type": "git",
      "url": "git://github.com/hollandben/grunt-cache-bust.git"
    },
    "licenses": [
      {
        "type": "MIT",
        "url": "https://github.com/hollandben/grunt-cache-bust/blob/master/LICENSE-MIT"
      }
    ],
    "engines": {
      "node": "&gt;= 0.10.0"
    },
    "scripts": {
      "test": "grunt test"
    },
    "devDependencies": {
      "grunt": "^1.0.3",
      "grunt-contrib-clean": "~0.6.0",
      "grunt-contrib-copy": "~0.8.0",
      "grunt-contrib-jshint": "~0.11.0",
      "grunt-contrib-nodeunit": "~0.4.1",
      "grunt-contrib-watch": "~0.6.1"
    },
    "peerDependencies": {
      "grunt": "~0.4.5"
    },
    "dependencies": {
      "cheerio": "~0.18.0",
      "css": "~2.2.0",
      "flatten": "~0.0.1",
      "path-is-absolute": "^1.0.0"
    },
    "keywords": [
      "grunt",
      "grunt plugin",
      "cache",
      "bust",
      "bust assets"
    ]
  }
  </code></pre>