wow!!!!! Thank you so much Sander!

This helped out big time. I had totally forgotten this gem of info for 
directives and much more!

On Wednesday, June 7, 2017 at 9:47:38 PM UTC-7, Sander Elias wrote:
>
> 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 [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.

Reply via email to