Skip to main content

Sekib Omazic

Member since Oct 19, 2014

Recent Blog Comments By Sekib Omazic

  • Unwrapping HTTP Responses Using RxJS Observables In Angular 2 Beta 6

    Posted on Feb 25, 2016 at 2:25 PM

    This is very nice example of Observables in action. There are 2 more ways (that I know) to make an Observable hot: .publish().refCount() or .share(). I prefer the later because it's more descriptive. Another suggestion: maybe consider using Plunker and TypeScript for your examples. That makes it ea... read more »

  • Counting The Number Of Watchers In AngularJS

    Posted on Oct 20, 2014 at 12:19 PM

    @Ben, I'll try some other approaches with your example, just to see what I get. There is one more thing I oversaw: $isolateScope. I have to check if this has an impact on $watch count especially when dealing with directives with isolated scope. Keep writing - I always learn something new on this b... read more »

  • Counting The Number Of Watchers In AngularJS

    Posted on Oct 19, 2014 at 4:40 AM

    Nice blog post (as always). One question though: since the children can point to the parent scope, shouldn't you also track the scopes by $id? I've found another approach here: http://ng.malsup.com/#!/counting-watchers Cheers.... read more »

I believe in love. I believe in compassion. I believe in human rights. I believe that we can afford to give more of these gifts to the world around us because it costs us nothing to be decent and kind and understanding. And, I want you to know that when you land on this site, you are accepted for who you are, no matter how you identify, what truths you live, or whatever kind of goofy shit makes you feel alive! Rock on with your bad self!
Ben Nadel