Skip to main content
Ben Nadel
On User Experience (UX) Design, JavaScript, ColdFusion, Node.js, Life, and Love.

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:!/counting-watchers Cheers.... read more »