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 Ng-Bind Example
Keywords : Angulrjs ng-bind directive example, Angularjs ng-bind html directive example, Angularjs ngbind function example, Angularjs ngbind to bind values to html elements example
Example
<!DOCTYPE html> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <title> AngularJs ng-bind Directive Example </title> <script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.4.8/angular.min.js"></script> <script> var app = angular.module("AngularbindApp", []); app.controller("Angularbindctrl", function ($scope) { $scope.name = ""; }); </script> </head> <body ng-app="AngularbindApp"> <div ng-controller="Angularbindctrl"> Enter Name to Display : <input type="text" ng-model="name"><br />you entered : <span ng-bind="name"></span> </div> </body> </html>
Click Here to See Result
Result
Previous
Next