Added factories to dashboard controller so they are defined
Fix Merge