title: how to define static constants in typescript and angular
body: <p>I have bunch of constants which are business related and I have to store them in Angular.Something like below</p>
  
  <pre><code>STUDENT_NAMES= ["JOHN","BOB","NICK"]
  TEACHER_NAME = ["HARRY","CHRIS"]
   SCHOOL_CODE = [100,102,107];
  </code></pre>
  
  <p>I have a lot of them and they are kind of static ..I need  them in most of my service classes.
  What is the best place to store them? Should i create a interface and let my service class inherit them?
  In java , we define a class of public static final constants and other classes uses them.Like this , what is the typescript way?</p>