I have changed the ngRoute module for the ui-router module that allows state navigation and nested views.