AngularJS templates/directives/scope – Nested directives see childscope, how to make them see scope? [duplicate]

This question already has an answer here:

In the the code below, get-risk directive operates at the scope level, whereas webix-ui operates at ChildScope level…

How do I make webix-ui directive and all nested divs, including get-risk to see the Scope level corresponding to ng-controller, to prevent using $scope.$parent in my directive to access the module CreateRiskController code?

Is this default behavior of AngularJS, how do I make the entire template see only Scope (which is the top most tag of my template)?

<div id="formcontainer" ng-app="Risk" ng-controller="CreateRiskController"
     get-risk>
    <div id="mycreateform" class="container" type="space" layout-padding=""
         ng-cloak="">     
        <form id="form" name="CreateRisk" role="form"
              ng-submit="valid() && submit()" novalidate>
            <table id="details" class="layout" border="1">                               
                <tr>
                    <td class="label">
                        Title
                    </td>
                    <td class="locked">
                        <div ng-if="initDone">
                            <div webix-ui="risktitle" width="500" height="30"
                                 type="text" id="risktitle" name="risktitle" 
                                 />
                            </div>
                    </td>
                </tr>
          </table>
      </form>
   </div>
</div>

Modified Template exhibits same behavior

<div id="formcontainer" ng-app="Risk" ng-controller="CreateRiskController" get-risk>
    <div id="mycreateform" class="container" type="space" layout-padding="">     
        <form id="form" name="CreateRisk" role="form" ng-submit="valid() && submit()" novalidate>
            <div id="details" class="layout table" border="1">                               
                <div class="tr">
                    <div class="td label">
                        Title
                    </div>
                    <div class="td locked">
                        <div ng-if="initDone"><div webix-ui="config.risktitle" width="500" height="30" type="text" id="risktitle" name="risktitle"></div></div>
                    </div>
                </div>
                <div class="tr">    
                    <div class="td label">
                        Risk Statement
                    </div>
                    <div class="td locked">
                        <div ng-if="initDone"><div webix-ui="config.riskstatement" width="500" height="97" type="textarea" id="riskstatement" name="riskstatement"></div></div>
                    </div>
                </div>
                <div class="tr">
                    <div class="td label">
                        Context
                    </div>
                    <div class="td locked">
                        <div ng-if="initDone"><div webix-ui="config.context" width="500" height="97" type="textarea" id="context" name="context"></div></div>
                    </div>
                </div>
                <div class="tr">
                    <div class="td label">
                        Closure Criteria
                    </div>
                    <div class="td locked">
                        <div ng-if="initDone"><div webix-ui="config.closurecriteria" width="500" height="97" type="textarea" id="closurecriteria" name="closurecriteria"></div></div>
                    </div>
                </div>
                 <!--tr class="text">
                        <div class="td label">
                            Category
                        </div>
                        <div class="locked">
                             <div id="category" name="category" />
                        </div>
                  </div-->
            </table>
            <h2>Initial Risk Assessment</h2>
            <div class="nested">
                <div class="info">
                    <div id="details" class="table" border="1">
                        <div class="tr">
                            <div class="td label">
                                Likelihood
                            </div>
                            <div class="td locked">
                                <div ng-if="initDone"><div webix-ui="config.likelihood" width="30" height="30" type="level" id="likelihood" name="likelihood" maxlength="1"></div></div>
                            </div>
                        </div>
                        <div class="tr">
                            <div class="td label" colspan="2">
                                Consequence
                            </div>
                        </div>
                         <div class="tr">
                            <div class="td label margin-left">
                                Technical
                            </div>
                            <div class="td locked">
                                <div ng-if="initDone"><div webix-ui="config.technical" width="30" height="30" type="level" id="technical" name="technical" maxlength="1"></div></div>
                            </div>
                        </div>
                         <div class="tr">
                            <div class="td label margin-left">
                                Schedule
                            </div>
                            <div class="td locked">
                                <div ng-if="initDone"><div webix-ui="config.schedule" width="30" height="30" type="level" id="schedule" name="schedule" maxlength="1"></div></div>
                            </div>
                        </div>
                         <div class="tr">
                            <div class="td label margin-left">
                                Cost
                            </div>
                            <div class="td locked">
                               <div ng-if="initDone"><div webix-ui="config.cost" width="30" height="30" type="level" id="cost" name="cost" maxlength="1"></div></div>
                            </div>
                        </div>
                    </div>
                     <div name="level"></div>
                </div> 
                &nbsp;&nbsp;    
                <div class="info" ng-if="initDone">
                    <table class="matrix" id="riskmatrix">
                    <tbody>
                    <tr ng-repeat="likelihood in [5,4,3,2,1]">
                            <td ng-if="likelihood == 2" class="vlabel">Likelihood</td>
                            <td ng-if="likelihood != 2"></td>
                            <td class="likelihood">{{likelihood}}</td>
                            <td ng-repeat="consequence in [1,2,3,4,5]" name="risk[{{likelihood}}][{{consequence}}]" ng-model="riskMatrix[likelihood][consequence]" ng-class="[riskLevel(likelihood,consequence)]"></td>
                    </tr>
                    <tr>
                            <td></td>
                            <td></td>
                            <td ng-repeat="consequence in [1,2,3,4,5]">{{consequence}}</td>
                    </tr>
                    <tr>
                        <td></td><td></td><td colspan="5">Consequence</td> 
                    </tr>  
                    </tbody></table>
                </div>
                 &nbsp;&nbsp;   
            </div>
        <divider></divider>
        <div>
            <div>
              <button id="submit" type="submit" disabled="disabled" class="raised primary">Create Risk</button>
            </div>
        </div>
        <div>
          <div class="msg" layout-align="center">
            <span ng-bind-html="msg">{{msg}}</span>
          </div>
        </div>
        </form>
    </div>
</div>

Source: AngularJS