separate routing code
root permissions fn, build fixes
directive to easier checking user permissions
give up with browserify, simplify dependencies - bower on frontend, npm on backend