Use class to find html and change the text
Javascript code
$scope.hardpoint = $scope.div.find(".text_data");
$scope.applyText = function(text) { $scope.hardpoint.html($scope.config.text);
};
html
<div class="columns ApplicationDivs left">
<div class="off-canvas-wrap">
<div class="inner-wrap">
<nav class="tab-bar">
<section class="middle tab-bar-section">
<h2 class="title">Text</h2>
</section>
</nav>
<section class="main-section">
<table class="nav_tabs no-display">
<tr>
<td class="navtab active" data-content="text">text</td>
</tr>
</table>
<div class="tabs-content">
<div id="text" class="text_data content viewing">
</div>
</div>
</section>
</div>
</div>
</div>
No comments:
Post a Comment