angularjs - How to pass empty params to express in a get? -
have route call angular, typically: server/a/b/c
server side want query db req.params.
trim , omit if a: '' or b : ''
express not paths server//c.
there way handle this? transform route /null/null/c that's ugly :s.
Comments
Post a Comment