Easing functions for angularJS