I can create a simple variable with text and display it just fine, but if I use
$http.get()
It breaks my controller and nothing gets displayed on screen.
Here is my index.html file.
<!DOCTYPE html>
<html ng-app="ietm">
<head>
    <link rel="stylesheet" type="text/css" href="node_modules/bootstrap/dist/css/bootstrap.min.css" />
    <script type="text/javascript" src="node_modules/angular/angular.min.js"></script>
    <script type="text/javascript" src="app.js"></script>
</head>
<body ng-controller="IetmController">
    <!--  TOC Header  -->
    <header>
    </header>
    <!--  Manuals Container  -->
    <div class="list-group">
        <div class="list-group-item" ng-repeat="manual in toc.manuals">
            <h3>{{manual.title}} <em class="pull-right">{{manual.tm}}</em></h3>
        </div>
    </div>
</body>
</html>
Here is my app.js file
(function() {
    var app = angular.module('ietm', []);
    app.controller('IetmController', ['$http', function($http) {
        var toc = this;
        toc.manuals = [];
        $http.get('main-TOC.json').success(function(data) {
            toc.manuals = data;
        });
    }]);
})();
And if it matters, here is my JSON
[{
        "docid": "TO2JF11031",
        "location": "2j-f110-3-1",
        "file": "2jf11031.sgm",
        "tm": "2J-F110-3-1",
        "title": "General Information",
        "update": "Thu Jul 7 12:39:17 EDT 2016"
    },
    {
        "docid": "TO2JF11032",
        "location": "2j-f110-3-2",
        "file": "2jf11032.sgm",
        "tm": "2J-F110-3-2",
        "title": "Support Equipment",
        "update": ""
    },
    {
        "docid": "TO2JF11033",
        "location": "2j-f110-3-3",
        "file": "2jf11033.sgm",
        "tm": "2J-F110-3-3",
        "title": "Disassembly",
        "update": "Thu Jul 7 12:39:18 EDT 2016"
    }
]
 
     
     
    