add angular api accessor