Skip to main content
An Overview of AngularJS for Developers

An Overview of AngularJS for Developers

Angular and React being the trending JavaScript frameworks these days. There are lots of buzz words around them. In this post, we will be discussing an introduction to AngularJS with an example.

What is AngularJS?

AngularJS is a complete JavaScript-based open-source front-end web application framework mainly maintained by Google and by a community of individuals. We can use angular just like any normal JavaScript in our web page.

It can be added to an HTML page with a script tag.

An Overview of AngularJS for Developers #angularjs #javascript #framework Click To Tweet

We can either download the AngularJS files locally on our system and use them in the application or we can take a link from the CDN. It is up to the developer to decide. Usually referring CDN link is preferable as it is a performance booster if a lot of content come from the CDN.

Use the below link in the head or body section of the HTML mark up to add AngularJS in your project.

<script src=""></script>

AngularJS extends HTML with ng-directives

  • ng-app directive defines an AngularJS application.
  • ng-model directive binds the value of HTML controls to application data.
  • ng-bind directive binds application data to the HTML view.

AngularJS basic example

We use {{ }} (binding expressions) in AngularJS to perform operations.

In the above example we have specified addition of two numbers and here is the output which you see in your browser.


Points to remember

  • Please make sure that your internet connection is On while referring CDN links. Otherwise the code will not work.
  • In such scenarios, it is advisable to download the files locally and link them as I have done in the example above.

Course-specific creative-Learn and Understand AngularJS

If you find this post useful, consider sharing it with your fellow developers.

What do you think?

Dear Readers,
If you have any questions or suggestions please feel free to email us or put your thoughts as comments below. We would love to hear from you. If you found this post or article useful then please share along with your friends and help them to learn.

Happy Coding!



DotNetCrunch is a popular blog for latest Microsoft® technologies which is aimed for beginners and intermediate level professionals.