This is a long shot, but has anyone seen this error before? I am trying to add \'Transporters\' using express, angular and mongoDB. I get this error whenever I access a page
I had this error too, I changed the code like this then it worked.
html
...
app.js
(function(){ var app = angular.module('app',[]); app.controller('firstCtrl',function($scope){ ... }) })();
You have to make sure that the name in module is same as ng-app
then div will be in the scope of firstCtrl