Angularjs Examples

AJS Examples

What is Directives in AngularJS

In this AngularJS basic example you will learn what is directives in AngularJS and how to use in HTML DOM to perform specific operation.

Here you can view the output of the example and you can also "try it yourself" by clicking on "Live Demo" button given at the bottom.


<div ng-init="customer={name:'Jimi',address:'12-13-283/A1',email:'' }"> 
<span ng-bind="""></span>

What is expression in AngularJS

<head> <!-- -->  
<title>My first AngularJS code</title>  
<Script SRC="">  
<div ng-app="">  
<div ng-init="customer={name:'Jimi',address:'12-13-283/A1',email:'' }">   
Name:- <span ng-bind=""></span></br>  
Address:- <span ng-bind="customer.address"></span></br>  
Email:- <span ng-bind=""></span>