I have changed the ngRoute module for the ui-router module that allows state navigation and nested views.
Fixed protractor tests and code cleaned.