Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

can we use ng-app as bootstrap? #19

Open
crapthings opened this issue Mar 27, 2014 · 4 comments
Open

can we use ng-app as bootstrap? #19

crapthings opened this issue Mar 27, 2014 · 4 comments

Comments

@crapthings
Copy link

No description provided.

@crapthings
Copy link
Author

or should i use ng-controller on root tag?

@crapthings
Copy link
Author

what is replace with angular.module()

ngMeteor.module('app', []);

it seems all modules dependency is auto inject.

@loneleeandroo
Copy link
Owner

Hello :)

If you need to inject your own module please refer to the README here.

ngMeteor already handles the bootstrap for you so you can simply start using angular by specifying a ng-controller on your root tag, which cannot be the body tag because Meteor does not allow attributes on the body tag.

@Urigo
Copy link

Urigo commented Sep 1, 2014

@crapthings giving the programmer the option of using ngMeteor's bootstrap or use ng-app is a good idea.
If it is still relevant for you please open an issue for it in our repo and we would love to discuss it:
https://github.com/Urigo/ngmeteor
Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants