Home > Articles > .Net Framework Articles > AngularJs For Beginner. Part 1

AngularJs For Beginner. Part 1

by vikash kumar   on Feb 11, 2016   Category: .Net Framework  | Level: Advance  |  Views: 613    |  Points: 100   
Like this article? Bookmark and Share:
This part contains some basic knowledge of AngularJS and it's directives.


AngularJs is a JavaScript framework which is used to develop Single Page Application.

In coming time you will have to develop Single Page Application.

I am going to explain AngularJs step by step here: ----

To use angularJs in our application we first need to import angularJs library.

It can be added to a web page with a script tag under head section.

<head runat="server">

<script src="http://ajax.googleapis.com/ajax/libs/angularjs/1.3.14/angular.min.js">

</script>

</head>  

After adding the AngularJs library to your application, Now you are able to use AngularJs directives

Which are given here with example: - 

Step 1 First of all create a project.

Step 2 Add a HTML page to your project.

Step 3 Add AngularJs library to your project same as above.

Step 4 Now write AngularJs code on HTML page.

Example : -


<div ng-app="myApp">
  
<p>first{{10+5}}</p>
</div>

Output  15

Note : - ng-app is a directive which tells us that this is an AngularJs application.

Wait for Next part. In next part I will come with great example.




Like this article? Bookmark and Share:

Most viewed Articles

User Comments


  Re :AngularJs For Beginner. Part 1   
Posted by John Prathip
on 2/12/2016 12:04:54 AM
Points : 10

Good Job bro..Keep it up!
  Re :AngularJs For Beginner. Part 1   
Posted by Thamil
on 2/12/2016 7:22:39 AM
Points : 10

Hi vikash kumar, well done. It would be very helpful if you add screenshot for each step. Thanks.

Submit feedback about this article

Please sign in to post feedback

Latest Posts