0
I need to call a css block, depending on the condition, in an Ionic view. I’m trying to do with ng-include, but it doesn’t work.
<style type="text/css" ng-include="templates/style.css"></style>
or with div
<div ng-include="templates/style.css"></div>
ng-include
is forhtml
, naycss
according to the documentation: https://docs.angularjs.org/api/ng/directive/ngInclude– Ricardo Pontual
Thanks Ricardo, I decided to make a small Gambi, but q worked for me, I left the answer there
– Edinho Rodrigues