{"id":4648,"date":"2015-06-02T12:15:16","date_gmt":"2015-06-02T09:15:16","guid":{"rendered":"http:\/\/www.webcodegeeks.com\/?p=4648"},"modified":"2017-12-19T16:45:43","modified_gmt":"2017-12-19T14:45:43","slug":"angular-js-table-example","status":"publish","type":"post","link":"https:\/\/www.webcodegeeks.com\/javascript\/angular-js\/angular-js-table-example\/","title":{"rendered":"Angular.js Table Example"},"content":{"rendered":"<p>Hi there! Today we &#8216;ll examine a simple table solution, using the <code>Angular.js<\/code> framework. Suppose we want to display a list of persons, accompanied with their hobbies, in the gentle packaging of an <a href=\"http:\/\/www.w3schools.com\/Html\/html_tables.asp\" target=\"_blank\"><code>HTML table<\/code><\/a>. Let&#8217;s see the way over it!<br \/>\n&nbsp;<br \/>\n&nbsp;<br \/>\n&nbsp;<br \/>\n&nbsp;<br \/>\n&nbsp;<br \/>\n&nbsp;<br \/>\n&nbsp;<br \/>\n[ulp id=&#8217;LXJcMJZXSsqGXYW8&#8242;]<\/p>\n<h2>1. Introduction<\/h2>\n<p>If you &#8216;re not enough experienced with Angular, you should first take a glance at a previous <a href=\"http:\/\/www.webcodegeeks.com\/javascript\/angular-js\/angular-js-controller-example\/\" target=\"_blank\">example<\/a> of mine, where the required background for this example, is provided (paragraphs 1.1 and 1.2).<\/p>\n<p>Now that you have a basic understanding of <code>scopes<\/code> and <code>cotrollers<\/code>, let&#8217;s solve our problem!<\/p>\n<h2>2. Our Example<\/h2>\n<p>To begin with, let&#8217;s again separate our View from our Controller (<a href=\"http:\/\/www.tutorialspoint.com\/design_pattern\/mvc_pattern.htm\" target=\"_blank\">MVC pattern<\/a>). That is, we &#8216;ll provide our view in <code>index.html<\/code>, whereas the controller&#8217;s functionality will remain in <code>script.js<\/code> file.<\/p>\n<p><i>Having understood the <code>MVC pattern<\/code>, too, we need our controller to pull the necessary data from the <code>Model<\/code> and &#8220;feed&#8221; the view with them.<\/p>\n<p>I here want to demonstrate a sample table implementation, not an MVC example, so, to make it easier for you, the model&#8217;s data is created into the controller, instead of being pulled from the model.<\/i><\/p>\n<p>Besides the basic functionality that the <code>$scope<\/code> object provides, we can also use it to handle an array with it. We can define an array of persons (with their names and hobbies), into the <code>$scope<\/code> object, like below:<\/p>\n<pre class=\"brush:javascript\">\r\n$scope.persons = [\r\n          {\"name\": \"Thodoris\", \"hobby\": \"Gym\"},\r\n          {\"name\": \"George\", \"hobby\": \"Fishing\"},\r\n          {\"name\": \"John\", \"hobby\": \"Basketball\"},\r\n\t\t  {\"name\": \"Nick\", \"hobby\": \"Football\"},\r\n\t\t  {\"name\": \"Paul\", \"hobby\": \"Snooker\"}\r\n        ];\r\n<\/pre>\n<p>Ok, now that we know what our controller&#8217;s definition will contain, let&#8217;s see our view file and we &#8216;ll get back to the definition of our script, after it:<\/p>\n<p><u><code>index.html<\/code><\/u><\/p>\n<pre class=\"brush:html;highlight:[1,9,15]\">\r\n&lt;html ng-app=\"tableApp\"&gt;\r\n  &lt;head&gt;\r\n    &lt;meta charset=\"utf-8\"&gt;\r\n    &lt;title&gt;Angular.js Table Example&lt;\/title&gt;\r\n    &lt;script src=\"http:\/\/ajax.googleapis.com\/ajax\/libs\/angularjs\/1.2.26\/angular.min.js\"&gt;&lt;\/script&gt;\r\n\t&lt;script src=\"http:\/\/ajax.googleapis.com\/ajax\/libs\/angularjs\/1.2.26\/angular-route.min.js\"&gt;&lt;\/script&gt;\r\n    &lt;script src=\"script.js\"&gt;&lt;\/script&gt;\r\n  &lt;\/head&gt;\r\n  &lt;body ng-controller=\"HobbyCtrl\"&gt;\r\n    &lt;table&gt;\r\n      &lt;tr&gt;\r\n        &lt;th&gt;Name&lt;\/th&gt;\r\n        &lt;th&gt;Hobby&lt;\/th&gt;\r\n      &lt;\/tr&gt;\r\n      &lt;tr ng-repeat=\"person in persons\"&gt;\r\n        &lt;td&gt;{{person.name}}&lt;\/td&gt;\r\n        &lt;td&gt;{{person.hobby}}&lt;\/td&gt;\r\n      &lt;\/tr&gt;\r\n    &lt;\/table&gt;\r\n  &lt;\/body&gt;\r\n&lt;\/html&gt;\r\n<\/pre>\n<p>We here defined an Angular app (line 1), in the name of <code>tableApp<\/code> and attached a controller to it (line 9). This means that our view will search for the controller&#8217;s definition\/functionality in the <code>script.js<\/code> file.<\/p>\n<p>Lines 12 and 13 declare our table&#8217;s headers, inside a table row:<\/p>\n<pre class=\"brush:html\">\r\n&lt;tr&gt;\r\n    &lt;th&gt;Name&lt;\/th&gt;\r\n    &lt;th&gt;Hobby&lt;\/th&gt;\r\n&lt;\/tr&gt;\r\n<\/pre>\n<p>At this point, we have to find a way to repeatedly parse all the data from the controller&#8217;s <code>persons<\/code> array to our table, as we obviously don&#8217;t want to exercise our HTML typing.<\/p>\n<p><i>This results to an extra requirement, too: we want to divide each person&#8217;s data, into name and hobby, in order to display each person in the corresponding table&#8217;s column.<\/i><\/p>\n<p>In order to meet the fore-mentioned requirements, we &#8216;ll use Angular&#8217;s <a href=\"https:\/\/docs.angularjs.org\/api\/ng\/directive\/ngRepeat\" target=\"_blank\">ngRepeat<\/a> directive, which instantiates a template once per item from a collection. Each template instance gets its own scope, where the given loop variable is set to the current location item, and $index is set to the item index or key.<\/p>\n<p>In our case, to repeatedly loop over each person, we have to assume that each person is a table row:<\/p>\n<pre class=\"brush:html\">\r\n&lt;tr ng-repeat=\"person in persons\"&gt;\r\n\r\n&lt;\/tr&gt;\r\n<\/pre>\n<p>Now, we can access the person that is processed each time, using the <code>person<\/code> variable:<\/p>\n<pre class=\"brush:html\">\r\n&lt;tr ng-repeat=\"person in persons\"&gt;\r\n     &lt;td&gt;{{person.name}}&lt;\/td&gt;\r\n     &lt;td&gt;{{person.hobby}}&lt;\/td&gt;\r\n&lt;\/tr&gt;\r\n<\/pre>\n<p>We &#8216;ve analyzed our view page, so after a small introduction to the controller, here&#8217;s its final structure:<\/p>\n<p><u><code>script.js<\/code><\/u><\/p>\n<pre class=\"brush:javascript\">\r\nangular.module('tableApp', [])\r\n\t.controller('HobbyCtrl', function ($scope){\r\n        $scope.persons = [\r\n          {\"name\": \"Thodoris\", \"hobby\": \"Gym\"},\r\n          {\"name\": \"George\", \"hobby\": \"Fishing\"},\r\n          {\"name\": \"John\", \"hobby\": \"Basketball\"},\r\n\t\t  {\"name\": \"Nick\", \"hobby\": \"Football\"},\r\n\t\t  {\"name\": \"Paul\", \"hobby\": \"Snooker\"}\r\n        ];\r\n    });\r\n<\/pre>\n<h2>3. Demo<\/h2>\n<p>Here&#8217;s a quick demo of the app:<\/p>\n<figure id=\"attachment_4663\" aria-describedby=\"caption-attachment-4663\" style=\"width: 473px\" class=\"wp-caption aligncenter\"><a href=\"http:\/\/www.webcodegeeks.com\/wp-content\/uploads\/2015\/05\/app_screenshot.png\"><img decoding=\"async\" src=\"http:\/\/www.webcodegeeks.com\/wp-content\/uploads\/2015\/05\/app_screenshot.png\" alt=\"Figure 1. App demo\" width=\"473\" height=\"199\" class=\"size-full wp-image-4663\" srcset=\"https:\/\/www.webcodegeeks.com\/wp-content\/uploads\/2015\/05\/app_screenshot.png 473w, https:\/\/www.webcodegeeks.com\/wp-content\/uploads\/2015\/05\/app_screenshot-300x126.png 300w\" sizes=\"(max-width: 473px) 100vw, 473px\" \/><\/a><figcaption id=\"caption-attachment-4663\" class=\"wp-caption-text\">Figure 1. App demo<\/figcaption><\/figure>\n<h2>4. Download the project<\/h2>\n<p>This was an example of Angular.js Table.<\/p>\n<div class=\"download\"><strong>Download<\/strong><br \/>You can download the full source code of this example here : <a href=\"http:\/\/www.webcodegeeks.com\/wp-content\/uploads\/2015\/05\/angularjs_table.zip\"><strong>angularjs_table.zip<\/strong><\/a><\/div>\n","protected":false},"excerpt":{"rendered":"<p>Hi there! Today we &#8216;ll examine a simple table solution, using the Angular.js framework. Suppose we want to display a list of persons, accompanied with their hobbies, in the gentle packaging of an HTML table. Let&#8217;s see the way over it! &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; [ulp id=&#8217;LXJcMJZXSsqGXYW8&#8242;] 1. Introduction If you &#8216;re &hellip;<\/p>\n","protected":false},"author":63,"featured_media":909,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[25],"tags":[],"class_list":["post-4648","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-angular-js"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v26.5 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Angular.js Table Example - Web Code Geeks - 2026<\/title>\n<meta name=\"description\" content=\"Hi there! Today we &#039;ll examine a simple table solution, using the Angular.js framework. Suppose we want to display a list of persons, accompanied with\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.webcodegeeks.com\/javascript\/angular-js\/angular-js-table-example\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Angular.js Table Example - Web Code Geeks - 2026\" \/>\n<meta property=\"og:description\" content=\"Hi there! Today we &#039;ll examine a simple table solution, using the Angular.js framework. Suppose we want to display a list of persons, accompanied with\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.webcodegeeks.com\/javascript\/angular-js\/angular-js-table-example\/\" \/>\n<meta property=\"og:site_name\" content=\"Web Code Geeks\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/webcodegeeks\" \/>\n<meta property=\"article:author\" content=\"https:\/\/www.facebook.com\/toubou.techblog\/\" \/>\n<meta property=\"article:published_time\" content=\"2015-06-02T09:15:16+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2017-12-19T14:45:43+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.webcodegeeks.com\/wp-content\/uploads\/2014\/10\/angularjs-logo.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"150\" \/>\n\t<meta property=\"og:image:height\" content=\"150\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"Thodoris Bais\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@ThodorisBais\" \/>\n<meta name=\"twitter:site\" content=\"@webcodegeeks\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Thodoris Bais\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"4 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/www.webcodegeeks.com\/javascript\/angular-js\/angular-js-table-example\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/www.webcodegeeks.com\/javascript\/angular-js\/angular-js-table-example\/\"},\"author\":{\"name\":\"Thodoris Bais\",\"@id\":\"https:\/\/www.webcodegeeks.com\/#\/schema\/person\/f622d6017801d9aa8131e1ae69bbdd0d\"},\"headline\":\"Angular.js Table Example\",\"datePublished\":\"2015-06-02T09:15:16+00:00\",\"dateModified\":\"2017-12-19T14:45:43+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/www.webcodegeeks.com\/javascript\/angular-js\/angular-js-table-example\/\"},\"wordCount\":517,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/www.webcodegeeks.com\/#organization\"},\"image\":{\"@id\":\"https:\/\/www.webcodegeeks.com\/javascript\/angular-js\/angular-js-table-example\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.webcodegeeks.com\/wp-content\/uploads\/2014\/10\/angularjs-logo.jpg\",\"articleSection\":[\"Angular.js\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/www.webcodegeeks.com\/javascript\/angular-js\/angular-js-table-example\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.webcodegeeks.com\/javascript\/angular-js\/angular-js-table-example\/\",\"url\":\"https:\/\/www.webcodegeeks.com\/javascript\/angular-js\/angular-js-table-example\/\",\"name\":\"Angular.js Table Example - Web Code Geeks - 2026\",\"isPartOf\":{\"@id\":\"https:\/\/www.webcodegeeks.com\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/www.webcodegeeks.com\/javascript\/angular-js\/angular-js-table-example\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/www.webcodegeeks.com\/javascript\/angular-js\/angular-js-table-example\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.webcodegeeks.com\/wp-content\/uploads\/2014\/10\/angularjs-logo.jpg\",\"datePublished\":\"2015-06-02T09:15:16+00:00\",\"dateModified\":\"2017-12-19T14:45:43+00:00\",\"description\":\"Hi there! Today we 'll examine a simple table solution, using the Angular.js framework. Suppose we want to display a list of persons, accompanied with\",\"breadcrumb\":{\"@id\":\"https:\/\/www.webcodegeeks.com\/javascript\/angular-js\/angular-js-table-example\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.webcodegeeks.com\/javascript\/angular-js\/angular-js-table-example\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.webcodegeeks.com\/javascript\/angular-js\/angular-js-table-example\/#primaryimage\",\"url\":\"https:\/\/www.webcodegeeks.com\/wp-content\/uploads\/2014\/10\/angularjs-logo.jpg\",\"contentUrl\":\"https:\/\/www.webcodegeeks.com\/wp-content\/uploads\/2014\/10\/angularjs-logo.jpg\",\"width\":150,\"height\":150},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.webcodegeeks.com\/javascript\/angular-js\/angular-js-table-example\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.webcodegeeks.com\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"JavaScript\",\"item\":\"https:\/\/www.webcodegeeks.com\/category\/javascript\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Angular.js\",\"item\":\"https:\/\/www.webcodegeeks.com\/category\/javascript\/angular-js\/\"},{\"@type\":\"ListItem\",\"position\":4,\"name\":\"Angular.js Table Example\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.webcodegeeks.com\/#website\",\"url\":\"https:\/\/www.webcodegeeks.com\/\",\"name\":\"Web Code Geeks\",\"description\":\"Web Developers Resource Center\",\"publisher\":{\"@id\":\"https:\/\/www.webcodegeeks.com\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.webcodegeeks.com\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/www.webcodegeeks.com\/#organization\",\"name\":\"Exelixis Media P.C.\",\"url\":\"https:\/\/www.webcodegeeks.com\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.webcodegeeks.com\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/www.webcodegeeks.com\/wp-content\/uploads\/2022\/06\/exelixis-logo.png\",\"contentUrl\":\"https:\/\/www.webcodegeeks.com\/wp-content\/uploads\/2022\/06\/exelixis-logo.png\",\"width\":864,\"height\":246,\"caption\":\"Exelixis Media P.C.\"},\"image\":{\"@id\":\"https:\/\/www.webcodegeeks.com\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/www.facebook.com\/webcodegeeks\",\"https:\/\/x.com\/webcodegeeks\"]},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.webcodegeeks.com\/#\/schema\/person\/f622d6017801d9aa8131e1ae69bbdd0d\",\"name\":\"Thodoris Bais\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.webcodegeeks.com\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/dc31ee119255c1e4aa4a4f34858284d907cce53d033584d86b0e3de46db7d0ff?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/dc31ee119255c1e4aa4a4f34858284d907cce53d033584d86b0e3de46db7d0ff?s=96&d=mm&r=g\",\"caption\":\"Thodoris Bais\"},\"description\":\"Thodoris is an Oracle Certified Associate Java Programmer and currently works as a Junior Software Developer, for Intrasoft International S.A. He holds a diploma at Informatics &amp; Telecommunications Engineering and is interested in continuous development.\",\"sameAs\":[\"http:\/\/thodorisbais.blogspot.com\",\"https:\/\/www.facebook.com\/toubou.techblog\/\",\"https:\/\/instagram.com\/thodoris.bais\/\",\"https:\/\/www.linkedin.com\/pub\/thodoris-bais\/69\/6b7\/408\",\"https:\/\/x.com\/@ThodorisBais\"],\"url\":\"https:\/\/www.webcodegeeks.com\/author\/thodoris-bais\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Angular.js Table Example - Web Code Geeks - 2026","description":"Hi there! Today we 'll examine a simple table solution, using the Angular.js framework. Suppose we want to display a list of persons, accompanied with","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.webcodegeeks.com\/javascript\/angular-js\/angular-js-table-example\/","og_locale":"en_US","og_type":"article","og_title":"Angular.js Table Example - Web Code Geeks - 2026","og_description":"Hi there! Today we 'll examine a simple table solution, using the Angular.js framework. Suppose we want to display a list of persons, accompanied with","og_url":"https:\/\/www.webcodegeeks.com\/javascript\/angular-js\/angular-js-table-example\/","og_site_name":"Web Code Geeks","article_publisher":"https:\/\/www.facebook.com\/webcodegeeks","article_author":"https:\/\/www.facebook.com\/toubou.techblog\/","article_published_time":"2015-06-02T09:15:16+00:00","article_modified_time":"2017-12-19T14:45:43+00:00","og_image":[{"width":150,"height":150,"url":"https:\/\/www.webcodegeeks.com\/wp-content\/uploads\/2014\/10\/angularjs-logo.jpg","type":"image\/jpeg"}],"author":"Thodoris Bais","twitter_card":"summary_large_image","twitter_creator":"@ThodorisBais","twitter_site":"@webcodegeeks","twitter_misc":{"Written by":"Thodoris Bais","Est. reading time":"4 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.webcodegeeks.com\/javascript\/angular-js\/angular-js-table-example\/#article","isPartOf":{"@id":"https:\/\/www.webcodegeeks.com\/javascript\/angular-js\/angular-js-table-example\/"},"author":{"name":"Thodoris Bais","@id":"https:\/\/www.webcodegeeks.com\/#\/schema\/person\/f622d6017801d9aa8131e1ae69bbdd0d"},"headline":"Angular.js Table Example","datePublished":"2015-06-02T09:15:16+00:00","dateModified":"2017-12-19T14:45:43+00:00","mainEntityOfPage":{"@id":"https:\/\/www.webcodegeeks.com\/javascript\/angular-js\/angular-js-table-example\/"},"wordCount":517,"commentCount":0,"publisher":{"@id":"https:\/\/www.webcodegeeks.com\/#organization"},"image":{"@id":"https:\/\/www.webcodegeeks.com\/javascript\/angular-js\/angular-js-table-example\/#primaryimage"},"thumbnailUrl":"https:\/\/www.webcodegeeks.com\/wp-content\/uploads\/2014\/10\/angularjs-logo.jpg","articleSection":["Angular.js"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.webcodegeeks.com\/javascript\/angular-js\/angular-js-table-example\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.webcodegeeks.com\/javascript\/angular-js\/angular-js-table-example\/","url":"https:\/\/www.webcodegeeks.com\/javascript\/angular-js\/angular-js-table-example\/","name":"Angular.js Table Example - Web Code Geeks - 2026","isPartOf":{"@id":"https:\/\/www.webcodegeeks.com\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.webcodegeeks.com\/javascript\/angular-js\/angular-js-table-example\/#primaryimage"},"image":{"@id":"https:\/\/www.webcodegeeks.com\/javascript\/angular-js\/angular-js-table-example\/#primaryimage"},"thumbnailUrl":"https:\/\/www.webcodegeeks.com\/wp-content\/uploads\/2014\/10\/angularjs-logo.jpg","datePublished":"2015-06-02T09:15:16+00:00","dateModified":"2017-12-19T14:45:43+00:00","description":"Hi there! Today we 'll examine a simple table solution, using the Angular.js framework. Suppose we want to display a list of persons, accompanied with","breadcrumb":{"@id":"https:\/\/www.webcodegeeks.com\/javascript\/angular-js\/angular-js-table-example\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.webcodegeeks.com\/javascript\/angular-js\/angular-js-table-example\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.webcodegeeks.com\/javascript\/angular-js\/angular-js-table-example\/#primaryimage","url":"https:\/\/www.webcodegeeks.com\/wp-content\/uploads\/2014\/10\/angularjs-logo.jpg","contentUrl":"https:\/\/www.webcodegeeks.com\/wp-content\/uploads\/2014\/10\/angularjs-logo.jpg","width":150,"height":150},{"@type":"BreadcrumbList","@id":"https:\/\/www.webcodegeeks.com\/javascript\/angular-js\/angular-js-table-example\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.webcodegeeks.com\/"},{"@type":"ListItem","position":2,"name":"JavaScript","item":"https:\/\/www.webcodegeeks.com\/category\/javascript\/"},{"@type":"ListItem","position":3,"name":"Angular.js","item":"https:\/\/www.webcodegeeks.com\/category\/javascript\/angular-js\/"},{"@type":"ListItem","position":4,"name":"Angular.js Table Example"}]},{"@type":"WebSite","@id":"https:\/\/www.webcodegeeks.com\/#website","url":"https:\/\/www.webcodegeeks.com\/","name":"Web Code Geeks","description":"Web Developers Resource Center","publisher":{"@id":"https:\/\/www.webcodegeeks.com\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.webcodegeeks.com\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.webcodegeeks.com\/#organization","name":"Exelixis Media P.C.","url":"https:\/\/www.webcodegeeks.com\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.webcodegeeks.com\/#\/schema\/logo\/image\/","url":"https:\/\/www.webcodegeeks.com\/wp-content\/uploads\/2022\/06\/exelixis-logo.png","contentUrl":"https:\/\/www.webcodegeeks.com\/wp-content\/uploads\/2022\/06\/exelixis-logo.png","width":864,"height":246,"caption":"Exelixis Media P.C."},"image":{"@id":"https:\/\/www.webcodegeeks.com\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/webcodegeeks","https:\/\/x.com\/webcodegeeks"]},{"@type":"Person","@id":"https:\/\/www.webcodegeeks.com\/#\/schema\/person\/f622d6017801d9aa8131e1ae69bbdd0d","name":"Thodoris Bais","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.webcodegeeks.com\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/dc31ee119255c1e4aa4a4f34858284d907cce53d033584d86b0e3de46db7d0ff?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/dc31ee119255c1e4aa4a4f34858284d907cce53d033584d86b0e3de46db7d0ff?s=96&d=mm&r=g","caption":"Thodoris Bais"},"description":"Thodoris is an Oracle Certified Associate Java Programmer and currently works as a Junior Software Developer, for Intrasoft International S.A. He holds a diploma at Informatics &amp; Telecommunications Engineering and is interested in continuous development.","sameAs":["http:\/\/thodorisbais.blogspot.com","https:\/\/www.facebook.com\/toubou.techblog\/","https:\/\/instagram.com\/thodoris.bais\/","https:\/\/www.linkedin.com\/pub\/thodoris-bais\/69\/6b7\/408","https:\/\/x.com\/@ThodorisBais"],"url":"https:\/\/www.webcodegeeks.com\/author\/thodoris-bais\/"}]}},"_links":{"self":[{"href":"https:\/\/www.webcodegeeks.com\/wp-json\/wp\/v2\/posts\/4648","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.webcodegeeks.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.webcodegeeks.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.webcodegeeks.com\/wp-json\/wp\/v2\/users\/63"}],"replies":[{"embeddable":true,"href":"https:\/\/www.webcodegeeks.com\/wp-json\/wp\/v2\/comments?post=4648"}],"version-history":[{"count":0,"href":"https:\/\/www.webcodegeeks.com\/wp-json\/wp\/v2\/posts\/4648\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.webcodegeeks.com\/wp-json\/wp\/v2\/media\/909"}],"wp:attachment":[{"href":"https:\/\/www.webcodegeeks.com\/wp-json\/wp\/v2\/media?parent=4648"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.webcodegeeks.com\/wp-json\/wp\/v2\/categories?post=4648"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.webcodegeeks.com\/wp-json\/wp\/v2\/tags?post=4648"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}