나의 제안은 LIS가
를로드 할 때 UL이 당신의 HTML이
<div ng-app ng-controller="ctrl" class="container">
<ul ng-class="{slideIn: isLoaded}">
<li ng-repeat="item in list">{{item}}</li>
</ul>
</div>
당신은 당신의 컨트롤러이있을 수 있습니다
과 같은 경우 그래서 (I가 $ 제한 시간을 사용하지 것처럼 보이게하는 것입니다 다음 사이클에 도착, 그렇지 않은 경우가 더 전환)
function ctrl($scope, $timeout) {
var itemCount=10;
$scope.list=[];
while (itemCount--) {
$scope.list.push("my item "+itemCount);
}
$timeout(function(){
$scope.$apply(function(){
$scope.isLoaded = true;
});
});
}
는 없습니다 그리고 당신은 전환
위해 CSS를 추가
ul {
padding: 0;
position: absolute;
top: -100%;
left: 0;
right: 0;
transition-property: top;
transition-duration: 0.4s;
transition-timing-function: ease-out;
}
.slideIn {
top: 0;
}
여기에서 실제로 볼 수 있습니다. http://jsfiddle.net/LBygk/