Popovers showing charts(bar and pie)using Angular directives