add intro to css transitions using angularjs