NgAnimate on page load hack

Avec la mise à jour 1.4.1, AngularJs Animate ne déclenche pas sur les charges de page comme il l'avait l'habitude. Mon ancienne solution était semblable à celle-ci – plunker (trouvé ici et travaillé jusqu'à v1.3.9).

<script> angular.module('app', ['ngAnimate']) .controller('contr', function ($scope, $rootElement) { $rootElement.data("$$ngAnimateState").running = false; }); </script> <style> h1.ng-enter { opacity: 0; -moz-transition: opacity 10s ease; -o-transition: opacity 10s ease; -webkit-transition: opacity 10s ease; transition: opacity 10s ease; } h1.ng-enter-active { opacity: 1; } </style> </head> <body ng-app="app" ng-controller="contr"> <h1 ng-if="true">Big headline</h1> </body> 

Mais cela ne fonctionne plus. Alors, je le fais plutôt – plunker

 <script> angular .module('app', ['ngAnimate']) .controller('contr', function ($scope, $interval) { $scope.bool1 = false; $interval(function () { $scope.bool1 = true; }, 1, 1); }); </script> <!--same css and html--> 

Cela me permet de me pirater. Existe-t-il une meilleure façon de provoquer une animation sur la charge de page dans la version 1.4.1+?