Added html to popup.
Added some angularjs behavior to popup.