Set animation based on type of browser / device

Hi! So you can remove all animations by doing animate=“no-animation” on a couple of elements. But I tried to do animation=“getAnimationSetting()” and that just did not work. I want to disable animations all together on Android (as it makes the app feel slow).

Can the animation be set in the core templates of the app using a rootScope function as described above that checks type of devices or whatever before returning “no-animation” or some other value?