Angular
From charlesreid1
Installing: First Try
See [Angular/FirstTry] page.
Installing: Trying Again
sudo apt-get install nodejs
Now repeat the installation procedure, but this time, set it up so that npm installs into your home directory [1] (that way, we don't have to deal with sudo):
echo prefix = ~/.node >> ~/.npmrc
Then add to .profile:
export PATH="$PATH:$HOME/.node/bin"
And if you want to start from scratch, you just remove ~/.node and start over.
Install Grunt and Bower
Now use npm to install grunt and bower.
Get Angular
git clone "git@github.com:angular/angular.js.git"
Build Angular
cd angular.js # Install node.js dependencies: npm install # Install bower components: bower install # Build AngularJS: grunt package