Refactored angular js dir structure