title: AngularJS Code not working with NodeJS
body: <p>I am new to the MEAN Stack. I tried out something pretty basic in html with some angularJS which is working when I open it in my browser. But unfortunately the code is not working anymore when I try to render it with my nodeJS server. The index.html is shown but the angular part is not working anymore. My output is just {{article}}. Do you have any suggestions ?</p>
  
  <p><strong>index.html</strong></p>
  
  <pre><code>&lt;html ng-app="ibrahimsBlog"&gt;
  
    &lt;head&gt;
      &lt;meta http-equiv="Content-Type" content="text/html; charset=utf-8"&gt;
      &lt;title&gt;Ibrahims Blog&lt;/title&gt;
      &lt;script src="http://ajax.googleapis.com/ajax/libs/angularjs/1.2.26/angular.min.js"&gt;&lt;/script&gt;
      &lt;script src="app.js"&gt;&lt;/script&gt;
    &lt;/head&gt;
  
    &lt;body&gt;
  
    &lt;div ng-controller="articleController"&gt;
      &lt;div ng-repeat="article in articles"&gt;
        {{article}}
      &lt;/div&gt;
    &lt;/div&gt;  
  
    &lt;/body&gt;
  
  &lt;/html&gt;
  </code></pre>
  
  <p><strong>app.js</strong></p>
  
  <pre><code>var app = angular.module('ibrahimsBlog', [])
  app.controller('articleController', [
  '$scope',
  function($scope) {
    $scope.articles = [
      'foo',
      'bar',
      'baz'
    ];
  }]);
  </code></pre>
  
  <p>And my pretty basic node server:</p>
  
  <pre><code>var express = require('express'), app = express();
  
  app.get('/', function(req, res) {
    res.sendFile(__dirname + '/index.html');
  });
  
  app.listen(3000, function() {
    console.log('Server listening on port 3000');
  });
  </code></pre>