Add page view directory factory
Configured error route
UI router forced dep
Fix
Add state factory and registering routes for each controller