node.js - How to use AngularJS custom elements with jade? -
i having problem cannot tell jade render custom elements of angularjs origin (directives), want know if there way escape tags maybe @ least rendered instead of going jade pre-processor, or maybe way tell jade render custom element somehow.
the current code looks :
html head link(href='/main.css', rel='stylesheet') script(src='/lib.js') script(src='/main.js') title!= "neuron@l" meta(charset="utf-8") link(rel="icon",href="/images/neuronal.png") body(ng-app="app",ng-view) "<top:bar></top:bar>" "<left:bar></left:bar>"
if problem it's top:bar
, left:bar
here solution:
html head link(href='/main.css', rel='stylesheet') script(src='/lib.js') script(src='/main.js') title!= "neuron@l" meta(charset="utf-8") link(rel="icon",href="/images/neuronal.png") body(ng-app="app",ng-view) top:bar left:bar
Comments
Post a Comment