ProgrammerGuide.Net | Step by Step Programmer Guide

Brief about AngularJS Expressions with Example ? | AngularJS Tutorial | AngularJS Interview Question | AngularJS Programmer Guide

AngularJS expressions are written inside double braces: {{ expression }}. AngularJS expressions binds data to HTML the same way as the ng-bind directive. AngularJS will “output” data exactly where the expression is written. AngularJS expressions are much like JavaScript expressions: They can contain literals, operators, and variables.

AngularJS Expressions by Example

<!DOCTYPE html>
<html>
<body>


<div ng-app=“”>
  <p>My first expression: {{ 5 + 5 }}</p>
</div>


<script src=“http://ajax.googleapis.com/ajax/libs/angularjs/1.2.15/angular.min.js”></script>


</body>
</html>

Please click here for related products on Amazon!

Jayashee

Add comment

Want to Check Celebrities News?