AngularJs supports objects.

AngularJs objects are same as java script objects.

AngularJs Object syntax:


AngularJs Objects Example:

The following sample declares an object named employee with fn,ln,age and exp properties. For reading the employee properties we must use employee [dot] property name.
<script src=""></script>


  <div ng-app="" ng-init=" employee = { fn:'lok', ln:'palle', age:35 , exp:11 } ">
    first name =  {{ employee.fn }}
    last name = {{ employee.ln }}
    age =  {{ employee.age }}
    exp = {{ employee.exp }}