Hi all, I am a beginner in Angular.js. I don't know if this is the correct 
place to post. However, I've been searching for the past days and haven't 
been able to find a solution for this problem. I have a service which needs 
to be called from different parts of my app. The code can be found here: 
https://gist.github.com/Liongold/3158060510cc94ad8e6d. As you can see, the 
service includes DOM manipulation but from what I've seen this is incorrect 
and should be done in a directive. Can anyone show me an example or help me 
with how I can use a directive? I would like to have it that when the 
service is called, the directive triggers automatically. 

Thanks to all those who've read this and sorry for disturbing. 

-- 
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/d/optout.

Reply via email to