I think you confuse your self with 2 different things. The only thing that changes when using Requirejs and/or any other AMD module-system is that you need to manualy bootstrap angular.
You need to make sure that all the angular code are loaded before this (you can use Requirejs domready and its dependency system). Then you just run angular.bootstrap(<element>, "<module_name>") and your good to go. This is instead of using the ng-app directive on the element you use as element root for the application. If you cant use directives after this in your application then its not that you use Requirejs that is the problem. And for us to be able to help you in that case you need to give us more info about your application. PS. your backend have nothing to do with this problem. 2014/1/8 Rodrigo F. <[email protected]> > Samuel Ytterbrink, > > I've seen this tutorial before and they just bind the angular controller > with html through angular route. > > -- > You received this message because you are subscribed to a topic in the > Google Groups "AngularJS" group. > To unsubscribe from this topic, visit > https://groups.google.com/d/topic/angular/O6MtAWnPJuQ/unsubscribe. > To unsubscribe from this group and all its topics, send an email to > [email protected]. > To post to this group, send email to [email protected]. > Visit this group at http://groups.google.com/group/angular. > For more options, visit https://groups.google.com/groups/opt_out. > -- Samuel Ytterbrink -- You received this message because you are subscribed to the Google Groups "AngularJS" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/angular. For more options, visit https://groups.google.com/groups/opt_out.
