Category: Angular
-
AngularJS Module
In AngularJS, a module defines an application. It is a container for the different parts of your application like controller, services, filters, directives etc. A module is used as a Main() method. Controller always belongs to a module. How to create a module The angular object’s module() method is used to create a module. It…
-
AngularJS Controllers
AngularJS controllers are used to control the flow of data of AngularJS application. A controller is defined using ng-controller directive. A controller is a JavaScript object containing attributes/properties and functions. Each controller accepts $scope as a parameter which refers to the application/module that controller is to control. AngularJS Controller Example Note: AngularJS controller example with…
-
AngularJS Directives
AngularJS facilitates you to extend HTML with new attributes. These attributes are called directives. There is a set of built-in directive in AngularJS which offers functionality to your applications. You can also define your own directives. Directives are special attributes starting with ng- prefix. Following are the most common directives: ng-app directive ng-app directive defines…
-
AngularJS Expressions
In AngularJS, expressions are used to bind application data to HTML. AngularJS resolves the expression, and return the result exactly where the expression is written. Expressions are written inside double braces {{expression}}.They can also be written inside a directive: AnularJS expressions are very similar to JavaScript expressions. They can contain literals, operators, and variables. For…
-
AngularJS Data Binding
Data binding is a very useful and powerful feature used in software development technologies. It acts as a bridge between the view and business logic of the application. AngularJS follows Two-Way data binding model. One-Way Data Binding The one-way data binding is an approach where a value is taken from the data model and inserted…
-
AngularJS First Example
AngularJS applications are a mix of HTML and JavaScript. The first thing you need is an HTML page. Second, you need to include the AngularJS JavaScript file in the HTML page so we can use AngularJS: Note: You should always use the latest version of AngularJS, so it is not necessary to use the same…
-
AngularJS MVC Architecture
MVC stands for Model View Controller. It is a software design pattern for developing web applications. It is very popular because it isolates the application logic from the user interface layer and supports separation of concerns. The MVC pattern is made up of the following three parts:
-
What is AngularJS
Angular JS is an open source JavaScript framework that is used to build web applications. It can be freely used, changed and shared by anyone. Angular Js is developed by Google. It is an excellent framework for building single phase applications and line of business applications. Advantage of AngularJS There are a lot of JavaScript…
-
AngularJS Tutorial
AngularJS tutorial provides basic and advanced concepts of AngularJS. Our AngularJS tutorial is designed for beginners and professionals. Angular JS is an open source JavaScript framework by Google to build web applications. It can be freely used, changed and shared by anyone. Our AngularJS tutorial includes all topics of AngularJS such as mvc, expressions, directives,…