AngularJS Strings : AngularJS String works same as the javaScript strings. You can perform operation same as the javaScript string.
AngularJS Strings simple Example using Expressions
<div ng-app="" ng-init="str1='John';str2='UK'">
<p>Hi This is {{str1 + " From " + str2}}</p>
</div>
Example 1
<div ng-app="" ng-init="str1='John';str2='UK'">
<p>Hi This is {{str1 + " From " + str2}}</p>
</div>
|
Try it »
Example of String with ng-bind
Example 2
<div ng-app="" ng-init="str1='John';str2='UK'">
<p>Hi This is <span ng-bind="str1 + ' From ' + str2"></span></p>
</div>
|
Try it »
Tutorial
Expressions
AngularJs Directives
Controllers
AngularJs Filters
Http Methods
AngularJs Tables
Events
AngularJs Modules