In my application, there is a section of code that displays buttons when needed. Currently, the button only shows the text provided to it.
Now, I want to include a glyph alongside the button. Usually, I would use a span class for this purpose, but I'm having trouble with the syntax in this particular scenario!
This is how my button appears:
<div class="pull-right" ng-show="!viewModel[0].projectCompleted && groupedProduct.products.length > 0">
<div workflow-button project-element="getProjectElementById(groupedProduct.products[0].projectElementId)"></div>
</div>
To add the span, use:
<span class="glyphicon glyphicon-pencil"></span>
I believe I am overlooking something simple, so any assistance you can offer would be greatly appreciated!