I am working on an AngularJS app. I need to create a module that I can include in other projects. This module has services and directives that are spread across multiple files.
From the plunker, you can see that I'm trying to load the module like this:
var app = angular.module('app', ['my.module']);
However, I get an error that says:
Module 'my.module' is not available! You either misspelled the module name or forgot
However, I believe I am referencing it properly. Which makes me think that I'm not bundling the pieces of the module correctly. My directive an service were working fine until I tried putting them into a module. Now, its not working and I'm not sure how to get it working. I would appreciate any help I can get.