Adds

AngularJS - Environment Setup

This chapter will help you set up your development environment to get started with AngularJS.Practically any text editor or IDE which supports JavaScript, HTML and CSS will do the job.


Tools Required

You need following tools for the development of AngularJS application.

  • AngularJS Library
  • Editor/IDE
  • Browser
  • Web server(Optional)

1 . AngularJS Library:

To download AngularJS library, go to angularjs.org where you will see there are two options to download AngularJS library as shown below.

This chapter will help you set up your development environment to get started with AngularJS.Practically any text editor or IDE which supports JavaScript, HTML and CSS will do the job.


Tools Required

You need following tools for the development of AngularJS application.

  • AngularJS Library
  • Editor/IDE
  • Browser
  • Web server(Optional)

1 . AngularJS Library:

To download AngularJS library, go to angularjs.org where you will see there are two options to download AngularJS library as shown below.


 

angularjs environment-setup


You can Click on View on Github button to go to GitHub and get all of the latest scripts Or click on Download button which will open the following popup.


angularjs environment-setup


Select the required version from the popup and click on download button in the popup. I will suggest to download Angular JS beta 2 version.This version is very fast, mobile supported and flexible compare to AngularJS 1


Include AngularJS library from CDN

Its better to include AngularJS library from CDN. There are so many CDN available which will provide you angularjs library. You can include AngularJS library from google CDN by adding url - https://ajax.googleapis.com/ajax/libs/angularjs/1.3.16/angular.min.js in your html document.

Adding library from CDN offers an advantage that if the visitor to your webpage has already downloaded a copy of AngularJS from the same CDN, it won't have to be re-downloaded.

We are using the CDN versions of the library throughout all tutorial.



2 . Editor

AngularJS is plain HTML and javaScript code so you can install any good Editor or IDE based on your choice. I am using notepad++ for all my AngularJS work.


3 . Browser

You can install any browser of your choice as AngularJS supports all the browsers.


4 . Web server

You can Use any web server such as apache, tomcat etc. Even you can run your AngularJS application without any server in your local system.


Now, you are good to write AngularJS web application.




References :- AngulaJS Documentation



Related Articles

  1. Maven Overview




comments powered by Disqus