Sunday, 23 April 2017

Angular JS Not Loading in Node Application

I'm writing a node application with Angular JS. I've imported the Angular packages with npm to my node_modules directory and I have the script tag imports correct. But when I load the page, the browser returns a 200 with the Angular files, but the response is blank. I'm not sure what I'm doing incorrectly.

    <meta name="viewport" content="initial-scale=1, maximum-scale=1, user-scalable=no" />
    <link rel="stylesheet" href="/node_modules/angular-material/angular-material.css">
    <link rel="stylesheet" href="/stylesheets/style.css">
    <script src="/node_modules/angular/angular.js"></script> 
    <script src="/node_modules/angular-material/angular-material.js"></script>
    <script src="/controllers/LineupCtrl.js"></script>

enter image description here



via The Hawk

No comments:

Post a Comment