Hey josh,
1.not sure how is this related to angular, what change ?
If you change server-side script, you might have to restart the nodejs, depending on how is it implemented.
2. why don't you use ng-view or ng-include ?
You can use $compile service for compiling DOM.
3. don't understand
4. once you need to define a directive/service/filter etc...
(I guess the ability of defining controllers in global space will disappear one day, as it's the only exception, you can register controller on a module as well:
module.controller('Some', function(){});
V.
On Sat, Jun 16, 2012 at 8:36 PM, josh
<macmilla...@gmail.com> wrote:
1. is there a way to avoid server restart on every change? it might be a node.js question..2. when injecting dom to the client using a templating engine (like ejs), how to compile the injected dom so the different angular directives will work?
3. when injecting dom into a {{}}, is the preferred way is ng-bind-html-unsafe?
4. when should i use a module? so far i only use a controller (my app is a simple single page).
thanks!
--
You received this message because you are subscribed to the Google Groups "AngularJS" group.
To view this discussion on the web visit https://groups.google.com/d/msg/angular/-/HAmPyYVbO8YJ.
To post to this group, send email to ang...@googlegroups.com.
To unsubscribe from this group, send email to angular+u...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/angular?hl=en.