It works now, you can revert to the previous line, I didn't added env.t to the rootScope (but I remove scrollsPre from main.json...)