set angular as index.html
libraryfication of patterndraw.js
removed unnecesary stuff (bb, josnps)