The problem seems to be that I had an empty view (a html-file with nothing inside) set as templateUrl in the state that is first loaded. When I added <ion-view></ion-view> to the file it works in the iOS emulator and device.
Is this suppose to happen? or is it a bug?! (I guess its a cordova error and not ionic?)
Other people seems to have had the same problem, I wonder if it was because of this to: