[javascript] Angular.js: set element height on page load