2
Problem
I’m implementing Strapangular in my application, but I can’t use contentTamplate to insert a form in my modal aside.
I tried it this way
mainCtrl
$scope.aside = {
"title": "Novo agendamento",
"contentTemplate": 'views/agenda/form-novo-agendamento.tpl.html'
};
Button
<button type="button" class="btn btn-lg btn-primary" bs-aside="aside">
Novo agendamento
</button>
The title is filled correctly but the content does not come, the same occurs with the insertion of the template direct from the data-template:
<button type="button" class="btn btn-lg btn-danger" data-template="views/agenda/form-novo-agendamento.tpl.html" data-placement="left" data-animation="am-slide-left" bs-aside="aside" data-container="body">Novo agendamento
</button>
Out of curiosity, why choose angularstrap instead of angularui ? rs :)
– Rod
Because it adapts right to the look I want for application, such as Aside, the dropdown...
– ralfting