function landingScrollspy(){
    return {
        restrict: 'A',
        link: function (scope, element, attrs) {
            element.scrollspy({
                target: '.navbar-fixed-top',
                offset: 80
            });
        }
    }
}
/**
 * landingScrollspy - Directive for scrollspy in landing page
 */
Directive for scrollspy in landing page
Directive for scrollspy in landing page
function landingScrollspy(){
    return {
        restrict: 'A',
        link: function (scope, element, attrs) {
            element.scrollspy({
                target: '.navbar-fixed-top',
                offset: 80
            });
        }
    }
}
function landingScrollspy ( ) { return { restrict : 'A' , link : function ( scope , element , attrs ) { element . scrollspy ( { target : '.navbar-fixed-top' , offset : 80 } ) ; } } }
landingScrollspy - Directive for scrollspy in landing page
landingScrollspy - Directive for scrollspy in landing page