Refactoring scale-question directive
Add scratchpad.html