Dismiss
Announcing Stack Overflow Documentation

We started with Q&A. Technical documentation is next, and we need your help.

Whether you're a beginner or an experienced developer, you can contribute.

Sign up and start helping → Learn more about Documentation →

I have a problem with the routing of AngularJs.

My structure is this:

  • header.php
  • footer.php

  • main.php (require header.php and footer.php)

  • dashboard.php

  • associated.php

In the header file is the call to the php class and head booster tag various Js libraries.

In main.php file instead I have the container (ng-view) that the routing of angular use for the slide transition.

Within the pages there are several php and js functions, the problem is that even if the php classes and the js are the system behaves as you are included files were missing and so is the php functions that js functions within the page do not work.

Any idea why?

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.