7
टेम्पलेट के साथ एनजी-शामिल नोड बदलें?
कोंडा नया कोणीय। क्या इसमें शामिल टेम्पलेट की सामग्री के साथ एनजी-शामिल नोड को बदलना संभव है ? उदाहरण के लिए, साथ: <div ng-app> <script type="text/ng-template" id="test.html"> <p>Test</p> </script> <div ng-include src="'test.html'"></div> </div> उत्पन्न HTML है: <div ng-app> <script type="text/ng-template" id="test.html"> <p>Test</p> </script> <div ng-include src="'test.html'"> <span class="ng-scope"> </span> <p>Test</p> …
85
angularjs