Change extension from .js to .ts

Pure Javascript, late binding, and no errors.
put the contract data in a module

This encapsulates the items in the Rolodex module.
Make a service class

Do the minimum amount of Type Checking here.
Add typing information

Notice that the factory call does not compile, because of permissions
issues. But, the application still works.
Export the class

This fixes the permission issue.
Again, note that permissions are to help the developer, not force
ceremony.
Add type checking on the constructor for the contacts controller

This preserves the type checking on that method