Angular.ts – Angular and TypeScript

Just a short one, but I’ve started writing an Angular app with TypeScript.

There is a fairly big cognitive difference between the two systems. This seems to be typical of anything that works through conventional naming, and Angular.js is more full of conventions and magic strings than anything I’ve seen for a while.

This meant I had a fairly serious bit of fiddling to do to get Angular working with my TypeScript controllers. Setting up modules isn’t a terribly natural for, at least to my brain. Luckily, this guy has already walked the same ground, and has figured out some decent patterns for structuring your app. Check him out if you want Angular magic with strong typing.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s