I have 4+ experience and working as software Engineer with Hytech professionals India PVT ltd and also working as Consultant,Trainer,Blogger and Author on Microsoft technologies,Also I have Trained more than 500+ IT professionals.I have knowledge about Asp.net,C#,SQL,Project management,replication,MVC,WebApi,SSRS,PostMan,TFS,SVN,Swagger,WMI,Agile,SignalR,Angularjs,IIS configuration.

What is AngularJs? One way data binding

AngularJS is a structural framework for dynamic web apps and single page application. 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. Angular's data binding and dependency injection eliminate much of the code you would otherwise have to write.
Note:-Angularjs follow MVC pattern.
Basic Example of one way data binding:-
Step 1:-Create simple HTML page.
Step 2:-Include AngularJs library  to support Angularjs in your application inside head tag with script tag.
or /use CDN URL:-<script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.4.5/angular.min.js"></script>
Step 3:-Run your html page.
<!DOCTYPE html>
<script src="angular.js"></script>
<body ng-app ng-init="firstName = 'Bikesh'; lastName = 'Srivastava';">
<strong>First name:</strong> {{firstName}}<br />
<strong>Last name:</strong> <span ng-bind="lastName"></span>
Each HTML ascribe particular to AngularJS is called mandate and has a particular part in an AngularJS application. 
We say that the HTML page is a format since it's not the last form of what will be rendered by the web program and obvious to the client, however it's indeed simply the structure of the website page before it's prepared by AngularJS. 
The ng-application order denote the DOM component that contains the AngularJS application. 
We introduce a few variables firstName and lastName through the ng-init order. 
An information tying can be determined in two unique ways: 
with wavy supports:  
with the ng-tie mandate: ng-bind="varName" 
We're stating one way information tying on the grounds that the model qualities (here the variables speak to the model) are consequently relegated to the HTML placeholder components indicated through the information tying documentation, however the HTML components don't change the qualities in the model (restricted).
You have just read an article that categorized by title AngularJs by title What is AngularJs? One way data binding. You can bookmark this page with a URL https://bikeshsrivastava.blogspot.com/2016/01/waht-is-angularjs.html. Thank You!
Author: Bikesh Srivastava - Friday, 15 January 2016

2 comments to "What is AngularJs? One way data binding"

Life Is Complicated, But Now programmer Can Keep It Simple.