I’m using modals to show a bunch of things throughout my application. Some of which are fired from services, not directly from controllers.
As a result, I’m newing up a new scope and dynamically assigning it to the modal.
This is causing Ionic to add inline styles to the h1 in the modal forcing it to be very small. This, causes ellipses after one or two characters. It seems to only affect the modals where I’m dynamically creating a $scope.
If I remove the inline styles via Web Inspector it renders properly.
I’ve been debating just grabbing the element with pure JS and removing the styles, but that seems clunky.
How do I stop Ionic from adding those inline styles?