move angular code into a separate plugin
move view1 and view2 code into separate plugins
rename some files