Bug/ionic

Fixes #30 

cc @GonchuB @kraku @stefanmdt