 						wrapper.scope.$destroy()
 					]
 
-
-		# buffer
-
 		Buffer = (itemName, $scope, linker)->
 
 			buffer = Object.create Array.prototype

	'$log', '$injector', '$rootScope', '$timeout', '$q', '$parse'
	(console, $injector, $rootScope, $timeout, $q, $parse) ->

		# Element manipulation routines

		insertElement =
			(newElement, previousElement) ->
				previousElement.after.apply(previousElement, [newElement])
				[]

		removeElement = (wrapper) ->

		terminal: true

		compile: (elementTemplate, attr, compileLinker) ->

			unless match = attr.uiScroll.match(/^\s*(\w+)\s+in\s+([\w\.]+)\s*$/)
				throw new Error 'Expected uiScroll in form of \'_item_ in _datasource_\' but got \'' + $attr.uiScroll + '\''
