HMVC is a JavaScript library that lets you isolate and decouple your code, which took inspiration from the hierarchical MVC pattern and AngularJS directives.