Steps For Installing AngularJs in Windows Machine
Note: Here we are using Xampp server to Host our Web application.
- Assuming user is using windows machine. Download the software and install it in 'C' drive.
* For selected Version Download please Use below Link.Try to download the latest stable version.
- There are many IDE available to develop AngularJS code in web apps. We will be using 'Sublime Text3' which is very lightweight and good for AngularJs web development
Download install the 'Sublime Text 3' software as per your OS (32 bit or 64 bit).
- Install AngularJs package Manager in Sublime Text. An excellent package manager can be found at:-
It can be used to install a variety of editor enhancements (packages) also such as the AngularJS package which I’ll discuss here so I highly recommend getting it installed. Open above link and download the package manager file link ( 'Package Control.sublime-package' hyperlink available at right side of the page) is given at the right side of the page, file will automatically will download.
- Move the downloaded package in sublime location:
- Open Sublime Text 3 text editor
- Click on Preference --> Browse packages
- New windows of sublime package location will appear and move the downloaded package to this location.
- Restart the Sublime Text Editor
- Install the AngularJS Package:
- Press ctrl+shift+p (Windows) to open the command pallet in sublime Text editor.
- Type Package (Package controll: Install Package) and select Install Package from the options which appears after hitting 'ctrl+shift+p'
- Once the Install Package dialog displays enter AngularJS and press enter.
- Congratulations, You have done with your AngularJS setup. Now if you have installed Xampp in C drive, please go in 'Xampp' folder which resides 'C:\xampp' in location.
Click on xampp-control.exe and start the apache service.
- Create a folder inside the 'C:\xampp\htdocs\' and provide a name as per your project. Create a hello.html file and write a simple program of AngularJS and test it in bowser.
NOTE : Please refer the link for AngularJS or download the library of AngularJS and include it in your file so that you can use the library to develpe the code in AngularJS.
AngularJS Lib: https://angularjs.org/
No comments:
Post a Comment