Home
Tutorials
Microsoft Technologies Tutorials
Java Programming Tutorials
Web Designing Tutorials
Script Programming Tutorials
Database Programming Tutorials
Mobile Technologies Tutorials
Other Programming Tutorials
Examples
Articles
Tools
News
AngularJS One Way Data Binding Example
Keywords : Angularjs data binding example, Angularjs one-way data binding example, Angularjs dynamic data binding example, Angularjs one-way binding example
Example
<!DOCTYPE html> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <title> AngularJs Two Binding Example </title> <script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.4.8/angular.min.js"></script> <script type="text/javascript"> var app = angular.module('angulartwobindapp', []); app.controller('angulartwobindingCtrl', function ($scope) { $scope.name = 'Welcome to Tutlane.com'; }); </script> </head> <body ng-app="angulartwobindapp"> <h2>AngularJS One Way Data Binding Example</h2> <div ng-controller="angulartwobindingCtrl"> <p> Message: {{ name }} </p> </div> </body> </html>
Click Here to See Result
Result
Previous
Next