Angular: Empty Fiddle

http://angularjs.org/

by ozzon91

HTML

<div ng-controller="MyCtrl">
  <ol>
    <li ng-repeat="(k, v) in test">
      <div ng-if="k == 'yourcustomefieldname'">
        <ul>
          <li ng-repeat="el in v">-- {{el}}</li>
        </ul>
      </div>
      <div ng-if="k !== 'yourcustomefieldname'">
        {{v}}
      </div>
    </li>
  </ol>
</div>

JavaScript

var myApp = angular.module('myApp',[]).controller('MyCtrl', function($scope) {
    $scope.test = {
  address: "address",
  country: "country",
  yourcustomefieldname: {
    birthdate_month: "1993-02-03",
    birthdate_year: "1993-02-03",
    bithdate_day: "1993-02-03",
    city: "London",
    email: "[email protected]",
    firstname: "test",
    gender: "female",
    lastname: "test",
    phone: "+442078562401%C3%97tamp",
    postcode: "se14yj",
    ref_name: "previ",
    ref_url: "www.previ.co.uk",
    user_ip: "127.0.0.1"
  }
}
});