AngulasJS in Typescript