Home / Web Development / Angular Js (page 2)

Angular Js

AngularJS First Application

Hi all, Here I explain simple HelloWorld application using AngularJS. Before I start with creating actual HelloWorld application,let us see the actual parts of a AngularJS application.AngularJS application consists of three important parts they are: ng-app : This directive defines and links an AngularJS application to HTML. ng-model : This …

Read More »

AngularJS Controllers

AngularJS controllers tp control the flow of data in AngularJS applications.The ng-controller directive is used for defined controller.Its regular javascript object containing attributes/properties and functions. <div ng-app=”” ng-controller=”studentController”> … </div> studentController using ng-controller directive.Next step we’ll define the studentController as follows: <script> function studentController($scope) { $scope.student = { firstName: “Priya”, …

Read More »

AngularJS Directives

The AngularJs directive are helps/used to extend the html.To extended HTML attributes in AngularJs directives with prefix ng-. The ng-app directive used for initializes an AngularJS application. The ng-init directive used for initializes application data. The ng-model directive binds the value of HTML controls (input, select, textarea) to application data. …

Read More »

Advantages and Disadvantages of AngularJS

Advantages of AngularJS AngularJS provides capability to create Single Page Application in a very clean and maintainable way. AngularJS provides data binding capability to HTML thus giving user a rich and responsive experience AngularJS code is unit testable. AngularJS uses dependency injection and make use of separation of concerns. AngularJS …

Read More »

Getting data from database to angular js

Hi all, Today I would like to explain fetching the data from mysql database using PHP, like we do it in jQuery AJAX. For this first we have to create a PHP file. We can use the following code to fetch a data from database. We already have a database …

Read More »

Insert the data to MYSQL database on PHP page using AngularJS

Hi all, Today I would like to explain about inserting data to database using PHP, like we do it in jQuery AJAX. For this first we have to create a PHP file. We can use the following code to insert a data to database. We already have a database named …

Read More »

Remove row data angularjs button

Hi Friends.., I have a table with some sample data. I have a button that I want to use with in the table row that will remove table row when clicked.It will remove the row, the button was clicked in. This demo shows how to remove/delete a table row dynamically. …

Read More »

Difference between Angular Expression and Javascript Expression

AngularJS is a javascript framework. It used for creating single web page applications.JavaScript is a lightweight, interpreted programming language.It is the programming language of HTML and the Web. Difference Between Angular Expression and Javascript Expression Context:In AngularJS, the expressions are evaluated against a scope object.In Javascript expressions, are evaluated against …

Read More »

AngularJs Components

Hi all, AngularJs is a Javascript Framework.  Its same as  javascript,  extends HTML with ng-directives. It can be added to an HTML page with a <script> tag.AngularJS extends HTML attributes with Directives, and binds data to HTML with Expressions. <script src=“http://ajax.googleapis.com/ajax/libs/angularjs/1.3.14/angular.min.js”></script> this jquery file helps for running angularjs file … AngularJS directives …

Read More »
Social Media Auto Publish Powered By : XYZScripts.com