Added angular and moved the content from html to javascript