ngMeteor
ngMeteor copied to clipboard
can we use ng-app as bootstrap?
or should i use ng-controller on root tag?
what is replace with angular.module()
ngMeteor.module('app', []);
it seems all modules dependency is auto inject.
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.
@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