copy over habit angular app from jsfiddle