Quick Start with Angular Modules

Written by Evan Schultz

Angular 2 RC5 was released was released last week. Looking through the change log of bug fixes and new features shows a lot of progress has been made. However, I experienced a sinking feeling after reading several pages of Breaking Changes about the introduction of @NgModule and changing how we need to bootstrap our applications. To be fair, the Angular team did a good job of providing examples of before and after code as part of those changes but it...

Read More »

Stakeholder Experience Design

Written by Mike Costanzo

Fear & Loathing in Project Kickoff The first experience you design is for your stakeholders — and your project’s success depends on it. Because Rangle is a consultancy, we have the opportunity to work with many different clients over a relatively short period. Over the last two years, we’ve been able to refine a lean discovery process that allows us to rapidly align our teams with our clients and lay the groundwork for establishing clear communication channels on day...

Read More »

Hijacking Angular 2 Events

Written by Abdella Ali

One of the nicest changes in Angular 2 is the new template syntax. The declarative nature of the brackets around a property and parentheses around events initially worried many people but it has really grown on me. For example: <myElement (click)=“doSomething($event)”></myElement> Right away, I know clearly that we’re binding to the (click) event in the DOM, and firing doSomething, and passing in the $event object. Pretty straightforward in this example but we...

Read More »

Recipes for Redux

Written by Evan Schultz

As Redux is becoming more popular within the Angular community, it's not always clear how to bridge the gap between working with Redux and how to make it fit naturally with Angular 2. One of the goals with ng2-redux is to provide a developer experience that feels natural with Angular 2 while still benefiting from the existing Redux community: dev tools, middleware, etc. Since last writing about using ng2-redux with Angular 2, here are the lessons we've learned. ActionServices With...

Read More »

Configurable Services in Angular 2

Written by Evan Schultz

Angular 2 has greatly simplified services since Angular 1. In Angular 1, there was a service, factory, provider, delegate, value, constant, etc. and it wasn't always clear when to use which. For most use cases in Angular 2, services have been greatly simplified. All you need to do is: Create a class with an @Injectable decorator Register it as a provider import { Injectable } from '@angular/core'; import { bootstrap } from '@angular/platform-browser-dynamic'; import { MyApp } from './my-app.component'; @Injectable(...

Read More »