'use strict'; define(['app'], function (app) { app.directive('fullScroll', ["$timeout", "$log", function ($timeout, $log) { return { restrict : 'A', link : function (scope, element, attrs) { $timeout(function () { element.slimscroll({ height : '100%', railOpacity : 0.3 }); }); } }; }]); });