I’ll show you how to namespace your components with an example application. The application represents a zoo. The zoo has a couple of animals plus some additional information.
This is the directory structure for the zoo:
zoo/ zoo.js zoo.information.js animals/ zoo.animals.js zoo.animals.Penguin.js zoo.animals.Tiger.js
The root namespace resides inside zoo.js.
See original post