Popovers showing charts using angular directives