AngularJS TypeError: Unable to read property 'insertBefore' of null


I can't seem to wrap my mind around what I am doing wrong here. I am trying to pull json data from a php file and then display it in my Angular app.

My app.js:

var app = angular.module("MyApp", []);

app.controller("ClientHealthCtrl", function($scope, $http) {
        success(function(data, status, headers, config) {
            $scope.rows = data;
    error(function(data, status, headers, config) {
        // log error


<body class="skin-black" ng-app="MyApp">
<tbody ng-controller="ClientHealthCtrl">
  <tr class="link_back" ng-repeat="Computer in rows">
    <td><a href="#cid={{}}">{{Computer.ComputerName}}</a></td>
    <td><i class="fa fa-fw fa-check-square" style="color:#008000;"></i>{{Computer.WmiTest}}</td>
    <td><i class="fa fa-fw fa-check-square" style="color:#008000;"></i>{{Computer.SmsClientService}}</td>
    <td><i class="fa fa-fw fa-check-square" style="color:#008000;"></i>{{Computer.McAfeeFrameworkService}}</td>
    <td><i class="fa fa-fw fa-check-square" style="color:#008000;"></i>{{Computer.RemoteManagement}}</td>

Which results in...

TypeError: Cannot read property 'insertBefore' of null
    at forEach (
    at forEach.after (
    at Object.JQLite.(anonymous function) [as after] (
    at Object.<anonymous> (
    at Object.Scope.$digest (
    at Object.Scope.$apply (
    at done (
    enter code here

Try wrapping the <tr>...</tr> element inside a <div>...</div>.

Looking at the source code of Angular, it is complaining some node has no parent node.

Actually, I found out your question when looking to fix the same error in my code. It's what I did, and it worked.