Why wont Appgyver add all the necessary JS files?

157 Views Asked by At

I'm developing an app using Supersonic & Appgyver. I generated two new modules[ oAuth & default ]and deleted "example" from a fresh default steroids applicaiton. I created a factory in the oAuth and I'm trying to call it in the default module.

Now! In auto generated dist/app/default/login.html ( the controller in question ) contains only the scripts

<script src="/app/common.js"></script>

<script src="/app/default.js"></script>

Why would it not load /app/oAuth.js?

My common index:

angular.module('common',
    'supersonic',
    'default',
    'oAuth'
]);

As far as I know, this should insist that oAuth should be included in all my other modules.

Why wont it auto add oAuth.js?

1

There are 1 best solutions below

0
Theodore Enderby On

I'm not sure if Supersonic is supposed to add those files. I believe it wants everything "common" to be in the common module. You could of course manually add the files to /dist but that's a pain.