How to Install Angular JS on Ubuntu 14.04
Angular JS is one of the most popular and robust Frameworks available today to build SPA, Single Page Apps.
Here's a quick tutorial on how to quick install it on Ubuntu 14.04.
Get the latest nodejs and npm packages:
$sudo add-apt-repository ppa:chris-lea/node.js
$sudo apt-get update
Install node.js and its package manager npm:
$sudo apt-get install nodejs
Now, let's install Yeoman angular generator, which is a nice angular project generator, it will handle you project packages, as well as create the initial project structure, folders etc.
Visit the project page for more reference and documentation: https://github.com/yeoman/generator-angular
$sudo npm install -g generator-angular
Now that the generator is installed, we can start creating the structure for our angular.js app. Create a directory and create the app as following:
$mkdir webapp
$cd webapp/
$yo angular [app-name] --> running this command will generate the angular structure using Yeoman
Voila! now you can get started building awesome Angular Js apps on your Ubuntu system.
Comments
Thanks for sharing useful…
Thanks for sharing useful information for beginners to Learn AngularJs course.
Very helpful, thanks!