Update ts linter config
Update definitions
Use ng-annotate
Nicer module declaration

Use getter method instead of using variables
Should be at the bottom of the js file