Fixed weird cordova error

Not sure of the cause. Ended up creating a new ionic project, removing
the old content and copying the newely generated content into it.