node.js - Using jade in angularjs, on include loosing the scope -


i using node sails server. problem when trying include jade file using include not able access scope. please go through below code

body(data-ng-controller="mainctrl")    include navigation    div(data-ng-view="")    block content 

there view renders dynamically. access controller in included template not working...please me new technology

thanks in advance

is 'include navigation' referring jade include or angularjs include?


Comments

Popular posts from this blog

javascript - RequestAnimationFrame not working when exiting fullscreen switching space on Safari -

Python ctypes access violation with const pointer arguments -