; }]); #new {   display: inline-block;   white-space: nowrap;   clear: both; }  #new>span {   margin-right: 0px; } <script src="https://ajax.googleapis.com/ajax/libs/angularjs/0.0.00/angular.min.js"></script> <div ng-app="myApp">   <div ng-controller="myCtrl">     <div id="new">       <span ng-repeat="x in records">{{x.id}}.- {{x.name}}</span>     </div>   </div> </div>  