5 lines
170 B
JavaScript
5 lines
170 B
JavaScript
|
angularIO.directive('scrollYOffsetElement', ['$anchorScroll', function($anchorScroll) {
|
||
|
return function(scope, element) {
|
||
|
$anchorScroll.yOffset = element;
|
||
|
};
|
||
|
}]);
|