Programming Steps
Step-By-Step Programming For Beginners
Auto-Codes
C Language
Cobol 85 Language
ColdFusion Language
Cordova
HTML5
Java Language
Mobile
Objective-C Language
PhoneGap
PHP
Python Language
Ruby Language
Learn the powerful enterprise adaptable database:
Getting Started With ADABAS & Natural
Thursday, March 3, 2016
w3s109-AngularJS Model Two-Way Data Binding
w3s109-AngularJS Model Two-Way Data Binding
code example:
index.html
<!DOCTYPE html> <html> <script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.6.4/angular.min.js"></script> <body> <div ng-app="myApp" ng-controller="myCtrl"> Name: <input ng-model="name"> <h1>You entered: {{name}}</h1> </div> <script> var app = angular.module('myApp', []); app.controller('myCtrl', function($scope) { $scope.name = "John Doe"; }); </script> <p>Change the name inside the input field, and you will see the name in the header changes accordingly.</p> </body> </html>
https://www.w3schools.com/angular/angular_model.asp
201603
Related Posts:
What is Tilde in Programming?
TypeScript Online Editor
What is TypeScript?
Apps Script and JSON Web Token
102 Apps Script: ObjDb Sheet Regist...
Related Posts Widget
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment