title: JSON databinding for kendo ui grid with angularjs not working
body: <p>I am using kendo UI grid with angular and I want to bind grid using json file (model.json) stored in the root directory as the index.html (I am using visual studio 2013 and web empty project template). My javascript controller is stored in Scripts/app/ directory.
  This is my json file:</p>
  
  <pre><code>{
  "model":  [
      {
          "RowNumber": "1",
          "AccountNo": "10236",
          "PostingDate": "20.01.2015",
          "AmountDebit": "1800.0",
          "AmountCredit": "1500.0",
          "Balance": "300.0",
          "Description": "Neki Opis"
      },
      {
          "RowNumber": "2",
          "AccountNo": "10648",
          "PostingDate": "26.01.2015",
          "AmountDebit": "3000.0",
          "AmountCredit": "1700.0",
          "Balance": "1300.0",
          "Description": "skafiskafnjak"
      },
      {
          "RowNumber": "3",
          "AccountNo": "10700",
          "PostingDate": "22.01.2015",
          "AmountDebit": "2900.0",
          "AmountCredit": "1800.0",
          "Balance": "1100.0",
          "Description": "knjizenje"
      },
      {
          "RowNumber": "4",
          "AccountNo": "10810",
          "PostingDate": "24.01.2015",
          "AmountDebit": "3800.0",
          "AmountCredit": "1400.0",
          "Balance": "2400.0",
          "Description": "hlabuka"
      },
      {
          "RowNumber": "5",
          "AccountNo": "10101",
          "PostingDate": "29.01.2015",
          "AmountDebit": "3800.0",
          "AmountCredit": "1500.0",
          "Balance": "2300.0",
          "Description": "Neki Opis"
      },
      {
          "RowNumber": "6",
          "AccountNo": "10364",
          "PostingDate": "25.01.2015",
          "AmountDebit": "4300.0",
          "AmountCredit": "1800.0",
          "Balance": "2500.0",
          "Description": "TestNova"
      }
  ]
  }
  </code></pre>
  
  <p>This is my controller:</p>
  
  <pre><code>(function () {
  'use strict';
  
  angular.module("app", ["kendo.directives"]).controller("generalledgerController", function ($scope, $http) {
  
      $scope.gridMaster = {
          dataSource: {
              dataType: "json",
              transport: {
                  read: "model.json"
              },
              schema: {
                  data: "model"
              }
          },
          selectable: true,
          sortable: true,
          pageable: {
              refresh: true,
              pageSize: true,
              buttonCount: 5
          },
          columns: [
              { field: "RowNumber", title: "R. Br.", width: "50px", template: '&lt;div style="text-align:center;"&gt;#= kendo.toString(RowNumber) #&lt;/div&gt;' },
              { field: "AccountNo", title: " Br. Knjiženja", width: "77px", template: '&lt;div style="text-align:left;"&gt;#= kendo.toString(AccountNo) #&lt;/div&gt;' },
              { field: "PostingDate", title: "Datum", width: "70px" },
              { field: "Description", title: "Opis", width: "170px" },
              { field: "AmountCredit", title: "Duguje", width: "80px", template: '&lt;div style="text-align:right;"&gt;#= kendo.toString(AmountCredit, "n2") #&lt;/div&gt;' },
              { field: "AmountDebit", title: "Potražuje", width: "80px", template: '&lt;div style="text-align:right;"&gt;#= kendo.toString(AmountDebit, "n2") #&lt;/div&gt;' },
              { field: "Balance", title: "Saldo", width: "80px", template: '&lt;div style="text-align:right;"&gt;#= kendo.toString(Balance, "n2") #&lt;/div&gt;' }
          ],
          toolbar: ["create"]
      };
  });
  
  })();
  </code></pre>
  
  <p>This is my html page:</p>
  
  <pre><code>&lt;html&gt;
  &lt;head&gt;
      &lt;meta charset="utf-8"&gt;
      &lt;meta http-equiv="Content-Type" content="text/html"&gt;
      &lt;link rel="stylesheet" type="text/css" media="all" href="content/bootstrap.css"&gt;
      &lt;link rel="stylesheet" type="text/css" media="all" href="content/metisMenu.css"&gt;
      &lt;link rel="stylesheet" type="text/css" media="all" href="content/bootstrap-theme.css.map"&gt;
      &lt;link rel="stylesheet" type="text/css" media="all" href="content/Site.css"&gt;
      &lt;link rel="stylesheet" type="text/css" media="all" href="content/kendo/2015.3.1111/kendo.common.min.css"&gt;
      &lt;link rel="stylesheet" type="text/css" media="all" href="content/kendo/2015.3.1111/kendo.mobile.all.min.css"&gt;
      &lt;link rel="stylesheet" type="text/css" media="all" href="content/kendo/2015.3.1111/kendo.dataviz.min.css"&gt;
      &lt;link rel="stylesheet" type="text/css" media="all" href="content/kendo/2015.3.1111/kendo.dataviz.default.min.css"&gt;
      &lt;link rel="stylesheet" type="text/css" media="all" href="content/kendo/2015.3.1111/kendo.metro.min.css"&gt;
      &lt;link href="content/generalledger.css" rel="stylesheet" /&gt;
  
      &lt;script src="scripts/jquery-1.10.2.min.js"&gt;&lt;/script&gt;
      &lt;script type="text/javascript" src="scripts/bootstrap.js"&gt;&lt;/script&gt;
      &lt;script src="scripts/angular.min.js"&gt;&lt;/script&gt;
      &lt;script type="text/javascript" src="scripts/kendo/2015.3.1111/kendo.all.min.js"&gt;&lt;/script&gt;
      &lt;script src="scripts/kendo/2015.3.1111/kendo.web.min.js"&gt;&lt;/script&gt;
      &lt;script type="text/javascript" src="scripts/app/generalledgercontroller.js"&gt;&lt;/script&gt;
      &lt;title&gt;App&lt;/title&gt;
  &lt;/head&gt;
  
  
  &lt;body ng-app="app" ng-controller="generalledgerController"&gt;
      &lt;div id="wrapper" class="active"&gt;
          &lt;nav class="navbar navbar-inverse navbar-static-top" role="navigation" style="margin-bottom: 0"&gt;
              &lt;div class="col-lg-2"&gt;
                  &lt;div class="navbar-header"&gt;
                      &lt;button type="button" class="navbar-toggle"
                              data-toggle="collapse" data-target=".navbar-collapse"&gt;
                          &lt;span class="icon-bar"&gt;&lt;/span&gt;
                          &lt;span class="icon-bar"&gt;&lt;/span&gt;
                          &lt;span class="icon-bar"&gt;&lt;/span&gt;
                      &lt;/button&gt;
                      &lt;h3 class="navbar-brand" style="font-family: 'Lato', calibri;width: 100%;margin: 0;left: 3%;color: grey;font-size: 24px;font-weight: 400"&gt;Logo&lt;/h3&gt;
                  &lt;/div&gt;
              &lt;/div&gt;
              &lt;div class="collapse navbar-collapse" style="padding-right: 20px"&gt;
                  &lt;ul class=" nav navbar-nav" style="padding-left:20px"&gt;&lt;/ul&gt;
              &lt;/div&gt;
              &lt;div class="navbar-default sidebar" role="navigation"&gt;
                  &lt;div class="sidebar-nav navbar-collapse"&gt;
                      &lt;ul class="nav" id="side-menu"&gt;&lt;/ul&gt;
                  &lt;/div&gt;
              &lt;/div&gt;
          &lt;/nav&gt;
      &lt;/div&gt;
      &lt;div id="page-wrapper"&gt;
          &lt;div class="container-fluid"&gt;
              &lt;div class="row"&gt;
                  &lt;div class="col-lg-12"&gt;
                      &lt;div&gt;
                          &lt;div class="divH3Style"&gt;
                              &lt;h3 class="h3LabelForm"&gt;General Ledger&lt;/h3&gt;
                          &lt;/div&gt;
                          &lt;div id="tabstrip" class="k-tabstrip-wrapper" kendo-tab-strip="tabStrip"&gt;
                              &lt;ul&gt;
                                  &lt;li&gt;Overview&lt;/li&gt;
                                  &lt;li&gt;Update&lt;/li&gt;
                              &lt;/ul&gt;
                              &lt;div id="tabstrip-1"&gt;
                                  &lt;div kendo-grid k-options="gridMaster" &gt;
                                  &lt;/div&gt;
                              &lt;/div&gt;
                              &lt;div id="tabstrip-2"&gt;
                              &lt;!-- fields for input/update data --&gt;
                              &lt;/div&gt;
                          &lt;/div&gt;
                      &lt;/div&gt;
                  &lt;/div&gt;
              &lt;/div&gt;
          &lt;/div&gt;
      &lt;/div&gt;
  &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>
  
  <p>The grid doesn't load any data, all I see are the headers.
  I watched all the relevant links to this problem:
  <a href="https://stackoverflow.com/questions/18979484/simple-json-connection-not-working">Simple Json connection not working</a>, <a href="https://stackoverflow.com/questions/23631689/binding-a-kendo-ui-grid-to-a-json-file-without-generating-the-grid-in-code">Binding a kendo ui grid to a json file without generating the grid in code</a>, <a href="http://www.telerik.com/forums/simple-json-databinding" rel="nofollow noreferrer">http://www.telerik.com/forums/simple-json-databinding</a>...
  Any help would be appreciated.</p>