concept base transition in category angular

appears as: base trsition
AngularJS in Action

This is an excerpt from Manning's book AngularJS in Action.

6.2.1. Define the base transition

The first thing you need to do when constructing a CSS transition within AngularJS is set up the base transition. Because we’re using ng-if to trigger the animation and the event is caused by an AngularJS directive, we need to define the classes for ng-enter and ng-leave: