Take the 2-minute tour ×
Stack Overflow is a question and answer site for professional and enthusiast programmers. It's 100% free, no registration required.

i have partial template that includes javascript file which contains angularJS code for controllers execution inside it. But whenever i load ui-view, i found just the html and the script tag is missing and the controller code not executing. should i need to include any code to accept the script tags in partial templates?

.state("languages", {
                    url         : "/languages",
                    views       : {
                    '': {templateUrl : "/templates/languages.php"},
                    'navMenu@languages' : {templateUrl  :   "/templates/menu.php"}
                    }

              })
share|improve this question

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.