Can ion-footer-bar be placed in a directive template?


I tried to create a directive with the HTML to show a warning footer using ion-footer-bar, so it can be reused on each view in my app. (I couldn’t find a way to globally apply a warning message at the bottom of the screen, other than having a footer bar at the bottom of each view, but if someone know a better way, please tell me)

However, it seems the footer display fine when it is placed directly in the real view (inside ), but not when placed in the directive template file, and have my placed at the same place where I would like to go.

Did I miss something in AngularJS as ion-footer-bar is a directive itself and need some help from my directive link-method to find the parent ion-view? Or is it a bug/limitation in ion-footer-bar that it cannot be nested inside a directive?