I'm attempting to integrate the 'base64' module into my Angular page controller. Previously, I defined my controller in this way:
angular.module('app').controller('newProjectController', newProjectController);
After consulting the repository on Git (https://github.com/ninjatronic/angular-base64), it appears that I should be doing the following:
angular.module('app', ['base64']).controller('newProjectController', newProjectController);
However, upon making these changes, my view is rendering empty without any error message. The JavaScript file has been included in my index.html before using the controller. Even when I revert back to the code below, the issue persists:
angular.module('app', []).controller('newProjectController', newProjectController);
It seems like the 'base64' module is not causing the problem here... Any thoughts on what might be going wrong? My Angular version is 1.4.1.