NewThe Detector Was Not Impressed cloudmark

Theme 062016–2017Web

Front-end tricks from the Angular years.

6 posts

Angular 2 - Define Routes Dynamically using UIRouter

Angular routes are usually fixed at configuration time, which hurts when every language has its own URLs. UIRouter can declare states on the fly from a CMS sitemap, giving fully multilingual routes.

TypeScript Json Mapper

JSON rarely arrives in camelCase, so it cannot simply be cast onto a TypeScript class. A generic mapper driven by decorators does the conversion, handles arrays, and plugs into the AngularJS http service.

Controlling Digests in AngularJS

Why a big ng-repeat slows AngularJS down, traced through the digest cycle with Batarang. limitTo, infinite scroll and a timed variant of my own render long lists in small batches instead of all at once.

Slack! Hubot! Github!

Set up a Slack team, connect Hubot, and write a small plugin that talks to GitHub. Ask hubot followup in Slack and the bot lists the issues that need following up.

Other themes