First of all i want say something about angular JS. I know that you get lots of study material form different sites. I have to express my little bit knowledge about Angular JS.
What is Angular JS?
- AngularJS is an open source Model-View-Controller(MVC) framework which is similar to the JavaScript(JS) framework. It provides the capability to create Single Page Application in a very clean and maintainable way.
- AngularJS is a structural framework for dynamic web apps. It lets you use HTML as your template language and lets you extend HTML’s syntax to express your application’s components clearly and succinctly.
- AngularJS is data binding and dependency injection eliminate much of the code you would otherwise have to write.
Architecture of AngularJS:
Angular.js follows the MVC architecture, the diagram of the MVC framework as shown below.
- The Controller represents the layer that has the business logic. User events trigger the functions which are stored inside your controller. The user events are part of the controller.
- Views are used to represent the presentation layer which is provided to the end users
- The model is responsible for managing application data. It responds to the request from view and to the instructions from controller to update itself.
Features of AngularJS:
Angular has the following key features which makes it one of the powerful frameworks in the market.
- Modules- The Modules are pillar of this architecture. A module creates a well-defined structure, which will keep everything organised, at one place.A single application may more than one module. By creating a new module, each application is first initialised and registered.
- Directives- Directives are markers on DOM elements such as elements, attributes, css, and more. These can be used to create custom HTML tags that serve as new, custom widgets. AngularJS has built-in directives such as ngBind, ngModel, etc.

- Expressions- Angular Expressions are JavaScript like expressions, however with lots of difference. Written inside two curly braces, these expressions will bind Angular application data to HTML elements.
- Controller- These are JavaScript functions bound to a particular scope.
- Scope- A Scope is a JavaScript object that sits inside the model, and delivers data to the view. The view’s expression will receive the value(s) from the $scope and display the result exactly where the expression is located.
- Data Binding – You don’t need to write special code to bind data to the HTML controls. This can be done by Angular by just adding a few snippets of code.
- Validations- AngularJS forms and controls can validate input data. AngularJS forms and controls can provide validation services and notify users of invalid data.
- Filters- An Angular Filter modifies the data before presenting it to the user. We can use these filters with expressions and directives. A filter is usually a predefined keyword, used with the symbol “|” (a pipe).
- Services- AngularJS comes with several built-in services such as $http to make a XMLHttpRequests. These are singleton objects which are instantiated only once in app.
- Routing- It is concept of switching views
- Dependency Injection- AngularJS has a built-in dependency injection subsystem that helps the developer to create, understand, and test the applications easily.
- Testing- The designers at Google not only developed Angular but also developed a testing framework called “Karma” which helps in designing unit tests for AngularJS applications.
Stay in Touch for Next discussion……………………… 🙂
