Example for Array of Objects in AngularJs