properly exporting for angular