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