the new stuff with typescript and ui-router