Update ionicPlatform.js

Addresses #991 - Make $ionicPlatform.ready()'s callback optional