javascript - Calling service values directly into directive -
i need call directive populate data using ng-repeat service data.
the desired output be
<ul>days <li>monday</li> <li>tuesday</li> ... <ul> <ul>month <li>january</li> <li>february</li> ... <ul>
i created jsfiddle.
http://jsfiddle.net/alaksandarjesus/upzayfv1/8/
upon on directive not called in jsfiddle data "i directive" displaying in localhost. running jsfiddle betterview of request.
you should try restrict directive "element":
return { restrict: 'e', template:"adsf" }
Comments
Post a Comment