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

bash - How do you programmatically add a bats test? -

Unable to open serial port using Putty to bluetooth device on windows 7 64 bit -

java - Getting exception in JDBC thin driver -