Scratchpad for AngularJs