refactor modal ++

Fix ngmin
Remove unused code
Redirect /#/id - Removed vote.js
Refactor modal main