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 String Expressions Example
Keywords : Angularjs string expressions for concatenation example, Angularjs string expressions documentation, AngularJS string expressions for string comparison with example, Angularjs expressions
Example
<html xmlns="http://www.w3.org/1999/xhtml"> <head> <title>AngularJs String Expressions 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('expressionApp', []) app.controller("expressionController", function ($scope) { $scope.expression1 = "Welcome to "; $scope.expression2 = "Tutlane.com" }); </script> </head> <body ng-app="expressionApp"> <form id="form1"> <div ng-controller="expressionController"> <div>AngularJS String Expression Example</div> <p>Hello: {{expression1+" "+expression2}}</p> </div> </form> </body> </html>
Click Here to See Result
Result
Previous
Next