The solution proposed in the pull request will be included in next version of ionic, so you shouldn't have to do this, besides your way uses css styling after it has done it's thing, thus using valuable resources, the other solution stops the error from happening, not the simptoms.
↧