|
|
|
|
|
by thenerdfiles
4158 days ago
|
|
Dependency Injection and Modularity are not the same thing. Modularity implies swappability, whereas Angular typically involves a "controllers space" or silo'd services. AngularAMD is interesting. It's really nice to load jQuery on a per-route basis, where I can isolate module dependencies and generally think of plugins to my applications from an external perspective. RequireJS facilitates an ecosystem where plugins AND modules exist side by side. AngularJS doesn't account for plugins (and "pages" are interesting combinations of modules and plugins which also can sit on the same level), which sit on the same level as modules. |
|