app.controller('JewelleryCtrl', function($scope, srvShareData) { $scope.sharedData = srvShareData.getData(); sessionStorage.clear(); });
<pre>
<div ng-controller="JewelleryCtrl" class="ui-tabs-panel ui-tabs-hide ui-widget-content ui-corner-bottom" id="fragment-2"> <% String subcat1 = "{{sharedData}}"; request.setAttribute("subcat", subcat1); %> <!--<h4>Address</h4>--> <div class="sell" onsubmit="return false"> <c:set var="subcategory" value="${subcat}" scope="session"/> <c:out value="${subcategory}"></c:out> <c:choose> <c:when test="${subcategory == 'Rings'}"> <div class="col-3"> <label> <select id="basemodel" name="sizeofring" tabindex="5"> <option value="" selected="">Select Ring Size</option> <option value="1">1</option> <option value="2">2</option> <option value="3">3</option> </select> </label></c:when> </c:choose> </div>
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)