How to upload and retrieve files in IPFS using angular 4

Need to upload big data files. using ipfs infura, hash of text data is displaying but unable to upload different files or images to ipfs for hash retrieval.

this.ipfs = new IpfsApi({host: ‘ipfs.infura.io’, port: 5001, protocol: ‘https’})