title: getting the name of the form tag from an HTML element within a directive
body: <p>I'm getting the ngModel name, but I also want to get the name of the form to which the element with the "validacion" directive belongs.</p>
  
  <p>I strictly need to get the name of the form to which the HTML element belongs. I can have several forms so I need a dynamic solution. thank you very much  </p>
  
  <pre><code>.directive('validacion', function ($timeout,$rootScope,validacionCampos,$compile) {
  
        return {
            restrict: 'AE',
            require: 'ngModel',
  
            link: function (scope, element, attrs, ngModel) {
                    if (!ngModel){
                            console.log("no hay modal")
                    return;          
            }
  </code></pre>