hi,
This sample code must have worked for you before but now is not working. I believe there is a mix up when you put it back into gibhub
within index.html
<script type="text/javascript" src="libs.js"></script>
<script type="text/javascript" src="app.js"></script>
<script type="text/javascript" src="templates-app.js"></script>
**** 2 libraries : lib.js and templates.app.js are missing based on index.html javascript preload.
instead in folders seeing : grandfather.js , routing-config.js , form-helper.js , error.js , login-service.js , morkhttp.js , pages.js , register.js
i matched up all the module names as per your injection to give that a spin
so I tried changing the index.html and preloading all of the above and also adding angular-ui-router ; it hangs at requiring 'templates-app' as one of the Inject dependency
in module : grandfather.js; do understand grandfather.js is required from decendency injection of other modules pointing to 'angular-login.grandfather'
When I take out the injection dependency 'templates-app' in the grandfather.js , then no more complaining of injection error.. but then get
Error: Unexpected request: GET home.tpl.html
and another error: TypeError: Cannot read property 'toString' of undefined
Your link to demo looks great, and I see the HTML code should render the same if the JS code don't break; but currently is way off . Please test and update with same working version as you have on that link. let me know thanks.
I really like to see this working.
Question: if I use route-segment library instead of ui-router, would it still work?
thanks