AngularJS Expressions

AngularJS expressions are written inside double braces: {{ expression }}. AngularJS will "output" data exactly where the expression is written.

Sample Code:

<!DOCTYPE html>
<script src= ""></script>
<div ng-app="">
<p>Input something in the input box to view it below:</p>
<p>Name: <input type="text" ng-model="name"></p>



No comments:

Post a Comment

Sharing is Caring!!! Share this with your friends!!!

submit to reddit