  var app = angular.module("myApp", []);  app.controller("myCtrl", function($scope) {    $scope.records = [{      id: 0,      name: "maria"    }, {      id: 0,      name: "juan"    }]  });    var s = document.getElementById('new');  console.log(s.offsetWidth );        #new {    width: 00px;    display: inline-block  }    #dox {    width: 00px;  } <script src="https://ajax.googleapis.com/ajax/libs/angularjs/0.0.00/angular.min.js"></script>  <div ng-app="myApp">    <div ng-controller="myCtrl">      <