AngularJs Environment Setup
AngularJS Environment Setup :
We observed what is Angular and where Angular fits in the complete application stack. Its time now to get our first AngularJS web page up and running.
Before we start with development of our first angular web page, let us first look at how to do the required environment set up for angular application development.
- Download angular library from the official website of AngularJS.
- Download compressed version of the library, angular.min.js for using in production.
- Download uncompressed version angular.js, for use during application development.
- Download the zip folder angular-1.4.8.zip (latest stable release), in case the complete set of files available as part of the library, are required.
- Using the CDN can avoid the requirement for downloading the library. However, this approach is generally not preferred due to possibility of injection of malicious code during the access and use of CDN links.
- Choosing the right IDE/ tool for development, debugging and testing.
- Any IDE like Eclipse, Visual Studio, etc can be used.
- Developer tools of the browsers can be used for simple debugging.
- For Angular specific debugging, chrome extensions- batarang and ng-inspector plugins, are available.
- Angular supports the use of testing tools like Karma, Jasmine, etc to help produce quality code that is easy to maintain and bug-free.