From f105aa9e01bb8a2cc6471e7a508d649c08296593 Mon Sep 17 00:00:00 2001
From: Axel Peter <15101925+AxelPeter@users.noreply.github.com>
Date: Fri, 1 Mar 2019 13:36:24 +0100
Subject: [PATCH 1/3] feat(oui-popover): add scope attribute for template
(#365)
* feat(oui-popover): add scope attribute for template
* style: code review
---
packages/oui-popover/README.md | 18 +++++++++++----
packages/oui-popover/src/index.spec.js | 23 ++++++++++++++++---
.../oui-popover/src/popover.controller.js | 5 +++-
packages/oui-popover/src/popover.directive.js | 1 +
4 files changed, 38 insertions(+), 9 deletions(-)
diff --git a/packages/oui-popover/README.md b/packages/oui-popover/README.md
index a9fec30b..90712e60 100644
--- a/packages/oui-popover/README.md
+++ b/packages/oui-popover/README.md
@@ -27,22 +27,29 @@
### Using a template with `oui-popover-template` attribute
+
+ This method use ngInclude to add the template in a popover and create an isolated scope.
+ Use oui-popover-scope to extend the isolated scope and $ctrl to access thoses values.
+
+
```html:preview
-