animation with angularjs.