So as the title says, I'm trying to migrate your example to Angular 1.4.7, with little success, other then a slight change with using prototype rather then the included class.js (this shouldn't cause any issues from what I've investigated), the issue lies in controller. I already assumed that since I think angular 1.2 lazy loading controllers to the app was disabled (I may be confusing the defaulting of controllers to anonymous apps), so I thought, easy enough include the below:
angular.module('notes.Controller',
[ 'notifications', 'notes.NotesModel', 'notes.NotesService' ])
.controller(
'NotesController',
[
'$scope',
'NotesModel',
'Notifications',
'$route',
new notesController($scope, NotesModel, Notifications,
$route) ]);
And then update the app.js to include the new module.
The issue appears to be that $scope (and should i remove it all together the remaining parameters have the same error occuring) appear to be throwing:
Uncaught ReferenceError: $scope is not defined
I've looked through everything I can think of, and can't seem to figure out why this is the case. Would you be able to migrate this to the latest build for relevance purposes