separated js and css from html; added angular to manage control panel