0

Can we disable the view rendering for a zend appllication. But still load layout.html. I am building an angularjs+zend application.I have added my angularjs scripts in the layout.phtml but whenever i load a page it say 404 because i have not defined a html view for the route. To resolve this i have to define all route functions in the controllers. But i dont need this because i have my view in the front end/angularjs

akond
  • 15,865
  • 4
  • 35
  • 55
Sandeep Kumar
  • 322
  • 4
  • 11

1 Answers1

0

You must have a <?= $this->content ?> row in your layout.phtml file. This is where the page view should take place. If you delete this, it won't show anything.

LWjuniOr
  • 151
  • 3
  • 14