#driective

AngularJS driective 封装 自动滚动插件

1.ui-smooth-scroll.js文件内容angular.module('app').directive('uiSmoothScroll',['$location','$anchorScroll',function($location,$anchorScroll){return{restrict:'AC',sc...