Subscribing to Form Value Changes in Angular 2

In Angular 2, promises have been replaced with observables, which offer a way to subscribe to changes in an asynchronous manner, rather than one-off asynchronous actions. An observable broadcasts a stream of information that can be read by any entity that is listening to the values the observable is outputting.... Read more »

Creating a Recursive Custom Matcher in Jasmine

I’ve been writing units tests using Jasmine for quite a while now, and one of the matchers I’ve wanted would validate not only that a subset of properties exist on an object, but the property values match the expected values. Something along the lines of: expect(actualObj).toIncludeValues({ foo: 'bar', baz: 'blah',... Read more »

Extending UI-Router Functionality in Angular 1

UI-Router is an alternative to the de-facto Angular 1 router, basing its functionality around states as opposed to routes. I won’t be going into the details of the router, but I wanted to demonstrate the flexibility and potential of it, using a concept called decorators. From the documentation itself, a... Read more »