Local JSON File in Angular Bit Components

Hello There,

I’m trying to create component in bit using Angular. I’ve gone thru the Bit Angular Dev guides and able to create and submit a component with inline hard coded data. But problem arises, whenever I’m trying to import a local .json file, like in my component.ts file i have json file path as this.httpService.get(‘assets/json/what.json’).subscribe(). In short, I would like your help in fetching data maybe thru an api or from any local .json file.

Thanks in Advance.