Starting With Angular Js Part 1

Hi everyone, I will be writing about AngularJS and my experiences with it. As we go along, I will be sharing my thoughts on building a simple project using AngularJS. I will be talking in bits and pieces about what I have used, so please so not see this as a full-fledged reference to the functionalities provided by Angular. Let’s get started!

An introduction to Angular JS

Simply put, AngularJS is a javascript framework developed by engineers at Google. If you have any prior experience of writing javascript then you are good to go with Angular. So why did Angular come into the picture?

Let’s suppose you start with a project for building a web app. As you go on writing code, more and more HTML pages come up, more and more styling is required, and more and more interactions are required to make the application more user friendly.

All of a sudden you realize that it is getting harder to manage the code, the CSS libraries and the javascript functions. Moreover, if you require some hard coded data for testing you might end up rewriting the HTML codes again. So basically, it gets difficult to manage the flow of the application.

This is where Angular comes to the rescue.

Simplification of web applications

Angular’s aim is to allow developers to make use of the MVC (Model-View-Controller) architecture and hence solve a lot of problems on the client side rather than their manipulation on the server. This ends up reducing the response time of the database driven applications and gives a more enhanced experience to the client as most of the processing is being done real-time on the client side.

According to Wikipedia:

Angular implements the MVC pattern to separate presentation, data, and logic components. Using dependency injection, Angular brings traditionally server-side services, such as view-dependent controllers, to client-side web applications. Consequently, much of the burden on the server can be reduced.

As we move further you will see how smooth and systematic it is to build applications using Angular. The HTML and javascript parts are completely separate from on another and one can be changed with minimal impact on the other while reusing many aspects if required.

I will talk about the features of Angular in depth as we get hand-on some code in the further sessions.

That’s it for now!

Written on March 22, 2017