fix routing on angular and sails