Hi Tito,

1. don't use replace unless you really have no other option. This has been 
deprecated for ages!
2. try to avoid $scope as much as possible, read the styleguide 
<https://github.com/johnpapa/angular-styleguide>!
3. if you use the controlleAs property on your directive, you can grab this 
from its parent.
4. switch to .components This makes your life a lot easier.

Regards
Sander

-- 
You received this message because you are subscribed to the Google Groups 
"Angular and AngularJS discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to angular+unsubscr...@googlegroups.com.
To post to this group, send email to angular@googlegroups.com.
Visit this group at https://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.

Reply via email to