html - How to make "configurable directives"? -
Say I have directive elements: & lt; Monkey-grid & gt; & Lt; // Monkey Grid & gt; Now, say that I want to include some "options" so that monkey-grid.tpl.html render in a specific function, and reuse it in different circumstances. can be done. & lt; Monkey-Grid Tabbed & gt; & Lt; / Monkey-grid & gt; & Lt ;! - Also tried - & gt; & Lt; Monkey-Grid Tocked = "True" & gt; & Lt; / Monkey-grid & gt; Then in my monkey-grid template, I want to do something like that, but it does not work, even if I have set it on the lie (hence the original element remains). I just want to show the appropriate div. & lt; Div & gt; & Lt; Div ng-show = "tabbed == true" & gt; Tab & lt; / Div & gt; & Lt ;! - Also tried - & gt; & Lt; Div ng-show = "vertical" & gt; VERTICAL & lt; / Div & gt; & Lt; / Div & gt; Is there a better way to create "c...