javascript - Angular does not seem to run -
i'm new angular , experimenting bit. have rest api running locally (express app) , have angular code in public folder consumes rest api. code server , client running 1 codebase , works fine, can add, update, delete items in mongo db running locally (code here ) the idea run server api on heroku , split off angular code have html , js file in complete separate folder, not being part of express app. server part working i'm using postman add, update , delete items. when using angular ui, seems angular code not executed (cfr screenshot) the code here . any thoughts on why running html code not seem work? enabling or disabling cors in chrome browser not help. it looks there special character @ bottom of controller.js . controllers/controller.js: $scope.updatetodo = function() { console.log("completed" + $scope.todo.completed); $http.put(url + $scope.todo._id, $scope.todo).success(function(response) { console.log("new updated: " +