usage:
setup application the standard way
$ ionic start myApp tabs
$ cd myApp
$ ionic platform add ios
$ ionic build ios
Then create a file called emulate.sh in that directory and copy the content of this gist into it. Next you have to set permissions for this shell script.
$ sudo chmod 777 emulate.sh
After that, each time you want to emulate your application in iOS simulator, just run: ./emulate.sh
OR without change chmod
$ source ./emulate.sh
I hope this works for you. Enjoy!