added transition for angular animate