I come from the world of Backbone and JavascriptMVC. But I am really tempted to switch to AngularJS. So far, I have one big issue that keeps me from converting.
I create single page apps. Let's pretend it contains a tab module, a file upload module and a filelist module.
What I would do in Backbone is that I would split each of these as standalone modules with their own view template, viewcontroller and so on. That way, I am able to use the module several places in my app. The modules don't know about anything other than itself.
How is this ment to be dealt with in AngularJS? Is it possible to create one angular.module per module (like for instance a tab module)?
I feel they tell a how to create many controllers within a module in their documentation. But that does not sound like what I need. Or am I misunderstanding some major concepts here?
EDIT: I have done some more research. It looks like directives is what I am looking for. While a module in AngularJS represents the entire web app. So the mixing of the names 'components' and 'modules' is what confused me.
Am I on the correct path now?