3

Angular.ts – Angular and TypeScript

 3 years ago
source link: https://stevedrivendevelopment.com/2013/11/29/angular-ts-angular-and-typescript/
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client

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.


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK