laurelnaiad / angular-couch-potato

Lazy-Load and Register Components in AngularJS Applications
Other
104 stars 19 forks source link

ready doesn't fire in angular 1.0.7? #2

Closed laurelnaiad closed 11 years ago

nissoh commented 11 years ago

The examples seems to work fine.

i had an issue because i was bootstrapping everything with require instead of script tags.

laurelnaiad commented 11 years ago

Bootstrapping with require should work, too. I have some updates and will include a sample of that.

nissoh commented 11 years ago

i modified your code to run on require bootstrap with angular 1.07. this issue still occurs often. i can push a branch with my code if you want.

p.s. it works fine on rc version

laurelnaiad commented 11 years ago

I am indeed curious why you needed to modify anything to use requirejs using the angular bootstrap method.... you should be able to shim couch-potato with a dependency of angular and be good to go. If you can either show me what you changed or tell me why you needed to do it, it might help me out! Thanks.

laurelnaiad commented 11 years ago

I'll close this unless we can demonstrate a problem.