Software Engineering

random thoughts

Normalized Attribute Names in Angular

I have been doing some hard directive/ html markup work and I came across a problem where I needed the normalized html tag attribute names. (I was trying to create a html element but needed access to the normalized names without turning it into a directive) Angular.js normalizes names like “test-name” and “data-test-name” to “testName”. So I went ahead and extracted and wrapped the functions needed into the following function:

Enabling MVC5 intellisense in a ClassLibrary Project

...

Typescript in V2013

How to enable Typescript Compilation for a VS2013 Class Library Project