added all route with scope, factories for order are not functioning orrectly