json route means all API calling done by angular